Support » Fixing WordPress » Array to string conversion in /wp-includes/functions.php

  • I’m getting a lot of
    PHP Notice: Array to string conversion in /home/rogeriod/public_html/wordpress/sestra/wp-includes/functions.php on line 120.
    It’s a native WP file.
    How to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time.

    Thread Starter rogeriodec

    (@rogeriodec)

    Is this the better way?
    I have currently 60 active plugins.
    And I don’t know WHEN this warning is generated, so I don’t know if would be possible to reproduce it.
    Looking inside /wp-includes/functions.php, line 120 belongs to function date_i18n.
    There is not a callback history or something to know who is calling this function?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Array to string conversion in /wp-includes/functions.php’ is closed to new replies.