Troublshooting

igel55 asked 4 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 Hilditch answered 4 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.

Black Friday!

This is the only time of year when we have our biggest discount ever!

Use coupon code BF2020 for a massive 50% discount.

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.