diesel12
Member
Posted 1 year ago #
We're getting this error in the dashboard:
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/producti/public_html/wp-content/mu-plugins/wp-super-cache/wp-cache-phase1.php on line 334
Also, the instructions no longer indicate installation should be in MU-Plugins.... we do not want blogs on the site to have control over the plugin, only the super admin, can we continue to add the plugin to mu-plugins? It seems to work fine... perhaps this is related to the error above???
diesel12
Member
Posted 1 year ago #
Ahhh. Had to delete plugin until we can downgrade to previous version, clients getting following error upon trying to update a post:
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/producti/public_html/wp-content/mu-plugins/wp-super-cache/wp-cache-phase1.php on line 334
Warning: Cannot modify header information - headers already sent by (output started at /home/producti/public_html/wp-content/mu-plugins/wp-super-cache/wp-cache-phase1.php:334) in /home/producti/public_html/wp-includes/pluggable.php on line 890
Weird, there's a specific check to make sure that variable *is* defined right before that line. Anyway, to hide it, as it's a harmless warning, disable "display_errors". You shouldn't have that enabled on production servers anyway as it can reveal information about your server to visitors that should be kept secret.
You can still install it in mu-plugins but if it's in plugins then you'll receive update notifications.
diesel12
Member
Posted 1 year ago #
D.
Thanks for the response. I went through the same clean up routine before re-installing this morning (wp-config, wp-content cleanup) and installed and am not able to replicate the issue, so all seems to be good.
Thank you for response and info regarding mu-plugins!
Trace