Troublshooting

Christopher W. asked 8 years ago

Hi, after installation I get following message in admin.

Warning: array_values() expects parameter 1 to be array, string given in ...blog/wp-content/plugins/wpi-performance-plugin/wpi-performance-plugin.php on line 2208

What does it mean and how can I solve that?

Chris

1 Answers
Dave H. answered 8 years ago

Hi – it’s just a warning, no harm done. I’ll modify this code in the next version to check if the existing metadata is an array or a string (can be either and PHP behaves nicely regardless)

If you need this warning removed from your page, you should edit your wp-config.php file and use the following debug values:

define(‘WP_DEBUG’, true);

define(‘WP_DEBUG_LOG’, true);

define(‘WP_DEBUG_DISPLAY’, false);

That way, you still get error messages if you need them but they’re saved to wp-content/debug.log instead of displaying on screen.

Your Answer


Super Speedy Plugins
Logo