Constant error – array_key_exists(): Argument #2 ($array)
-
What is causing this error I’m seeing in New Relic? Seems to happen only when wp-cron.php gets executed. Here’s the full stack trace.
Uncaught exception ‘TypeError’ with message ‘array_key_exists(): Argument #2 ($array) must be of type array, false given’ in /var/www/html/wp-content/plugins/wp-cloudflare-page-cache/libs/fallback_cache.class.php:380
…che_remove_url_parameters called at /var/www/html/wp-content/plugins/wp-cloudflare-page-cache/libs/fallback_cache.class.php (461)
…et_current_page_cache_key called at /var/www/html/wp-content/plugins/wp-cloudflare-page-cache/libs/fallback_cache.class.php (586)
…llback_cache_purge_urls called at /var/www/html/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php (817)
…_Controller::purge_urls called at /var/www/html/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php (2601)
in SWCFPC_Cache_Controller::purge_cache_queue_job called at /var/www/html/wp-includes/class-wp-hook.php (324)
in WP_Hook::apply_filters called at /var/www/html/wp-includes/class-wp-hook.php (348)
in WP_Hook::do_action called at /var/www/html/wp-includes/plugin.php (565)
in do_action_ref_array called at /var/www/html/wp-cron.php (191)
The topic ‘Constant error – array_key_exists(): Argument #2 ($array)’ is closed to new replies.