Warning: Illegal string offset 'home_slider' in ...

What to do if you get this:

Warning: Illegal string offset 'home_slider' in /home/content/html/wp-content/themes/kingdom/header.php on line 145

Warning: Illegal string offset 'home_slider' in /home/content/html/wp-content/themes/kingdom/header.php on line 183

 

Those are just warnings, not errors and they will not affect your website functionality.

Please disable WP Debug and display_errors (please ask your webhost to do this for you if you don't know how or the changes are not seen).

 

In wp-config.php:

 

ini_set('log_errors','On');

ini_set('display_errors','Off');

ini_set('error_reporting', E_ALL );

define('WP_DEBUG_LOG', true);

define('WP_DEBUG_DISPLAY', false);

define('WP_DEBUG', false);