• Resolved RazeSoldier

    (@razesoldier12)


    Hello, I see my error log display:

    PHP Warning: count(): Parameter must be an array or an object that implements Countable in wp-admin/includes/class-wp-list-table.php on line 513

    My environment is: PHP7.3+wordpress 5.2.1. I checked 5.1 branch and it seems that this problem has not been fixed.

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

    (@sterndata)

    Volunteer Forum Moderator

    This is where the error is found, but not where it was really caused.

    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 RazeSoldier

    (@razesoldier12)

    Thank you for your reply. I used a custom error handler to find the location of the real error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[PHP 7.2 compatibility issue] count() trigger a warning’ is closed to new replies.