Posts

Showing posts from May, 2019

Real Estate 7 "Warning: Cannot assign an empty string to a string offset"

Image
screenshot from ThemeForest Are you one of the devs or company which is using the Popular real Real Estate 7  in WordPress, well you might also face an issue about an error that looks like this below. "Warning: Cannot assign an empty string to a string offset —  class.wp-scripts.php " We write this article to help those who is currently facing the issue so what we do is locate the error line from class.wp-scripts.php  and make sure you replace it with the following code. Original Code: /*$l10n[ $key ] = html_entity_decode( (string) $value, ENT_QUOTES, 'UTF-8' );*/ Replace with this Code: if (!empty($value)) { $l10n[$key] = html_entity_decode( (string) $value, ENT_QUOTES, 'UTF-8'); } also, make sure that you are using a PHP version 7.0 or 7.1 and above so you can enjoy using this theme RE7 without any problems, and also before you start installing the demo of the themes make sure that you activate all the suggested plugins mention on the theme. Booking Calend...