Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Fabian

We see a lot of PHP Warnings spamming our logs

Hi,
we see a lot of those Warnings spamming our logs to 50MB – what can we do?

May 08, 12:23:17
PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /home/85850-67112.cloudwaysapps.com/qnxtpmuzbu/public_html/wp-content/plugins/admin-columns-pro/codepress-admin-columns/classes/ListScreen.php on line 443

7 years, 4 months ago
Tobias Schutter
Developer

Hi Fabian, The method get_original_columns returns false, instead of an array. We will make sure to fix in the next maintenance release 4.0.5.

If you would like to apply the fix yourself. You could change the following on line 482 of ListScreen.php:

$this->original_columns = $columns;

to:

$this->original_columns = (array) $columns;

That should solve it.

7 years, 4 months ago

You must be logged in to reply to this topic.