WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Strange Error and gen question….

[Plugin: WP Super Cache] Strange Error and gen question….

  • Diesel12

    @diesel12

    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???

Viewing 3 replies - 1 through 3 (of 3 total)
  • Diesel12

    @diesel12

    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

    Plugin Author Donncha O Caoimh

    @donncha

    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

    @diesel12

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] Strange Error and gen question….’ is closed to new replies.
Skip to toolbar