Forum Replies Created

Viewing 1 replies (of 1 total)
  • Confirming we are also having issues with WordPress 7.0. We installed the premium plugin, and got the error below.

    2026/06/09 14:47:32 [error] 2827305#2827305: *5977777 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /wp-includes/script-loader.php:3570
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(341): wp_enqueue_command_palette_assets()
    #1 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #2 /wp-includes/plugin.php(522): WP_Hook->do_action()
    #3 /wp-admin/admin-header.php(123): do_action()
    #4 /wp-admin/includes/plugin.php(924): require_once('...')
    #5 /wp-content/plugins/complianz-gdpr-premium/pro/filters-actions.php(266): delete_plugins()
    #6 /wp-includes/class-wp-hook.php(341): cmplz_check_upgrade_from_free()
    #7 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #8 /wp-includes/plugin.php(522): WP_Hook->do_action()

    For what it’s worth, we asked Claude to investigate and it came to this conclusion which seems reasonable after reviewing its findings:

    The Complianz GDPR Premium plugin fails to activate on WordPress 7.0 due to a bug in the plugin code.

    When the plugin is activated, it unconditionally runs a routine designed to remove the free version of Complianz if it happens to be installed. This routine calls a WordPress function (
    delete_plugins()) that was not designed to be used in this context — it is meant to be triggered by an explicit admin action, not run automatically during plugin activation. In WordPress 7.0, calling it this way triggers a crash deep in WordPress core before the plugin ever finishes loading.

    The fix is a one-line guard in the plugin source: only attempt to delete the free version if the free version is actually present. This is a bug the plugin vendor (Really Simple Plugins) needs to fix in a future release. We have identified the exact file and line number and can apply a local patch in the meantime if needed.

    **Impact:** The plugin cannot be activated on this WordPress 7.0 installation without either the vendor releasing a compatibility update or us applying a local patch.

    **Next steps:**
    - Apply the local patch now to unblock activation, or
    - Wait for an updated plugin release from Really Simple Plugins (worth filing a support ticket with them referencing WordPress 7.0 compatibility)

    This error happened with and without the free version already installed.

Viewing 1 replies (of 1 total)