How to deal with “Illegal string offset” and “Uninitialized string offset” issues

These look like Notices which show on the front end when debug mode is enabled. To disable that;

Please try editing the wp-config.php file in your website root, and just before the line “/* That’s all, stop editing! Happy blogging. */“, add the following:

ini_set(‘log_errors’,’On’);

ini_set(‘display_errors’,’Off’);

ini_set(‘error_reporting’, E_ALL );

define(‘WP_DEBUG’, false);

define(‘WP_DEBUG_LOG’, true);

define(‘WP_DEBUG_DISPLAY’, false);

 

Reference:

https://themes.artbees.net/forums/topic/illegal-string-offset-pro_widgets-in-wp-content-plugins-elementor/

Comments are closed.