Title: PHP Notice: Array to string conversion
Last modified: November 19, 2020

---

# PHP Notice: Array to string conversion

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/)
 * Hello.
 * I switched to this nice theme, after my 4years old theme died with WP 5.5 changes.
   It was time to use something else and use Gutenberg.
 * After switching to Neve, i get this Notice in my debug.log:
 * PHP Notice: Array to string conversion in /home/wp-includes/formatting.php on
   line 1098
 * I think it happens when i’m logged in and editing things around. Visitors do 
   not seem to activate that Notice, still not 100% sure about it.
 * I have changed nothing with my plugins, just activated Neve. I’m not saying it
   comes from Neve, maybe some conflict is happening WITH Neve. Or Gutenberg i’m
   using.
 * Since the Notice doesn’t clearly point to any plugin or theme, i would like to
   ask for some assistance and ideas how to pinpoint the issue.
 * Thank you

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

 *  [Vytis](https://wordpress.org/support/users/bvytis/)
 * (@bvytis)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13700329)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/),
 * Thank you for trying Neve!
 * I don’t think it could be related to the Neve theme but I would recommend you
   to try switching PHP version in your hosting panel, maybe you are using older
   PHP version.
 * Also, in case you are not able to pinpoint the issue – PHP Notices are non-critical
   errors that are for information only and can be caused by the PHP version you
   are using.
 * You can hide noticed using wp-config.php file – [https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/](https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/)
 * I hope you’ll find the reason for this problem! 🙂
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13700497)
 * Thank you.
 * I only use debug to a **log** after updates. My PHP is 7.3.x, so this is not 
   the case.
 * Next step is to disable plugins one by one and see how it goes. I will update
   here with my findings.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13700617)
 * I disables ALL plugins, the error is still there.
 * I happens when me (admin) is selecting **Customize** the theme.
 * Switching to default WP theme, the error is gone.
 * Any more ideas?
 * Thanks
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13704170)
 * I think that the default value of a customizer setting should be a string, not
   an array. This is what i understand from my little php knowledge.
 * I have tried 2 other themes, the error doesn’t happen with them.
 * Please be kind enough to check this.
 * Thank you.
 *  [Vytis](https://wordpress.org/support/users/bvytis/)
 * (@bvytis)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13727719)
 * Hey [@dimalifragis](https://wordpress.org/support/users/dimalifragis/),
 * I understand that this could be something that Neve theme drops as a Notice (
   not an error) but it’s not something global that we can debug as it doesn’t happen
   with our test instances or other clients haven’t reported it so it could be that
   some content that was before in your WordPress instance is causing the notice
   after Neve theme is activated but it’s hard to pinpoint the problem for a specific
   instance when it’s not a global problem.
 * Again, notices are not crucial and do not stop any functionality from working
   so in case you can’t find which content could be causing this you can hide notices
   using the wp-config.php file – [https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/](https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/)
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13730115)
 * Crystal clear. Thank you
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13796065)
 * This seems to be solved after 1-2 updates of the theme. Just FYI.

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

The topic ‘PHP Notice: Array to string conversion’ is closed to new replies.

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

 * 7 replies
 * 2 participants
 * Last reply from: [dimal](https://wordpress.org/support/users/dimalifragis/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-8/#post-13796065)
 * Status: resolved