Title: Warning: Illegal string offset
Last modified: November 29, 2017

---

# Warning: Illegal string offset

 *  Resolved [johnagreene](https://wordpress.org/support/users/johnagreene/)
 * (@johnagreene)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-27/)
 * I’m using a child theme for evolve theme Version: 3.8.2. This issue persists 
   with using the main theme rather than the child theme as well. Blog posts displayed
   on my static homepage and on my posts page have the following errors posted as
   text, but then the post displays properly underneath:
 * Warning: Illegal string offset ‘posts_slideshow_number’ in /home/wefinall/public_html/
   brewtogether.com/wp-content/themes/evolve/library/functions/frontpage-functions.
   php on line 1378
 * Warning: Illegal string offset ‘posts_slideshow’ in /home/wefinall/public_html/
   brewtogether.com/wp-content/themes/evolve/library/functions/frontpage-functions.
   php on line 1408
 * Warning: Illegal string offset ‘posts_slideshow_number’ in /home/wefinall/public_html/
   brewtogether.com/wp-content/themes/evolve/library/functions/frontpage-functions.
   php on line 1410
 * Warning: Illegal string offset ‘legacy_posts_slideshow’ in /home/wefinall/public_html/
   brewtogether.com/wp-content/themes/evolve/library/functions/frontpage-functions.
   php on line 1386
 * Warning: include(): Filename cannot be empty in /home/wefinall/public_html/brewtogether.
   com/wp-content/themes/evolve/library/functions/frontpage-functions.php on line
   1387
 * Warning: include(): Failed opening ” for inclusion (include_path=’.:/usr/local/
   php70/pear’) in /home/wefinall/public_html/brewtogether.com/wp-content/themes/
   evolve/library/functions/frontpage-functions.php on line 1387
    Test Post 1
 * Warning: Illegal string offset ‘link_read_more’ in /home/wefinall/public_html/
   brewtogether.com/wp-content/themes/evolve/library/functions/frontpage-functions.
   php on line 1792
 * Warning: Illegal string offset ‘disable_excerpts’ in /home/wefinall/public_html/
   brewtogether.com/wp-content/themes/evolve/library/functions/frontpage-functions.
   php on line 1798
 * Warning: Illegal string offset ‘excerpt_base’ in /home/wefinall/public_html/brewtogether.
   com/wp-content/themes/evolve/library/functions/frontpage-functions.php on line
   1828
    Test Post 1 Text
 * Has anyone else seen this with the evolve theme? I’m planning to upgrade to the
   premium version once I’m sure that this theme will work for this project. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [donnaWPadmin](https://wordpress.org/support/users/donnawpadmin/)
 * (@donnawpadmin)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-27/#post-9734300)
 * You can turn off debug in php.ini file, or you can do it in the config.php file
   as well…usually the first line will do it, but if not, add the other lines as
   well:
 * In that case, you can replace this line from your wp-config.php file:
    define(‘
   WP_DEBUG’, false); with this: ini_set(‘display_errors’,’Off’); ini_set(‘error_reporting’,
   E_ALL ); define(‘WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false);
 * then if page displays ok, don’t worry about it.
 * ref: [https://aristath.github.io/blog/wp-hide-php-errors](https://aristath.github.io/blog/wp-hide-php-errors)
    -  This reply was modified 8 years, 6 months ago by [donnaWPadmin](https://wordpress.org/support/users/donnawpadmin/).
 *  Thread Starter [johnagreene](https://wordpress.org/support/users/johnagreene/)
 * (@johnagreene)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-27/#post-9734726)
 * Thank you Donna!!! I had already had debug turned off, but the second part worked
   perfectly!
 *  [donnaWPadmin](https://wordpress.org/support/users/donnawpadmin/)
 * (@donnawpadmin)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-27/#post-9734904)
 * You are welcome.
    [https://everythingit.us](https://everythingit.us) [https://www.facebook.com/EverythingIT/](https://www.facebook.com/EverythingIT/)
 *  [savanipriyank](https://wordpress.org/support/users/savanipriyank/)
 * (@savanipriyank)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-27/#post-9739768)
 * Hi,
 * Please go to your wp-config.php file on root Folder via FTP or Cpanel
 * Find below code
    **define(‘WP_DEBUG’, false);**
 * if it’s set as **true **then you have to set as **false**.
 * save and uploaded it.
 * Thank you
 *  Thread Starter [johnagreene](https://wordpress.org/support/users/johnagreene/)
 * (@johnagreene)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-27/#post-9741081)
 * Thanks again everyone – Donna’s response from yesterday resolved the problem 
   but I forgot to mark it as resolved. Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Warning: Illegal string offset’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/evolve/4.3.7/screenshot.png)
 * evolve
 * [Support Threads](https://wordpress.org/support/theme/evolve/)
 * [Active Topics](https://wordpress.org/support/theme/evolve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/evolve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/evolve/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [johnagreene](https://wordpress.org/support/users/johnagreene/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-27/#post-9741081)
 * Status: resolved