PHP Fatal Error on settings page : Uncaught TypeError: array_key_exists()
-
PHP Fatal Error whenever I go to dashboard settings page:
[05-Apr-2025 15:23:14 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in .../wp-content/plugins/gdpr-cookie-consent/admin/modules/ab-testing/class-wpl-cookie-consent-ab-testing.php:91Stack trace:#0 ..../wp-includes/class-wp-hook.php(324): Gdpr_Cookie_Consent_AB_Testing->wp_settings_ab_testing_tab()#1 ..../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#2 .../wp-includes/plugin.php(517): WP_Hook->do_action()#3 .../wp-admin/admin-ajax.php(192): do_action()#4 {main}thrown in .../wp-content/plugins/gdpr-cookie-consent/admin/modules/ab-testing/class-wpl-cookie-consent-ab-testing.php on line 91Latest WP – 6.7.2
WP Cookie Consent : 3.7.7
PHP: 8.0.30On old platform – not migrated yet.
The topic ‘PHP Fatal Error on settings page : Uncaught TypeError: array_key_exists()’ is closed to new replies.