PHP-Error in editor after updating to WordPress 5.9
-
Hi,
I am getting this php-error, if I open a new page or an existing page after upgrading WordPress to 5.9:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "_disable_block_editor_for_navigation_post_type" not found or invalid function name in /var/www/vhosts/***************/wp-includes/class-wp-hook.php:309\nStack trace:\n#0 /var/www/vhosts/***************/wp-includes/plugin.php(189): WP_Hook->apply_filters()\n#1 /var/www/vhosts/***************/wp-content/plugins/capability-manager-enhanced/includes/functions-admin.php(122): apply_filters()\n#2 /var/www/vhosts/***************/wp-content/plugins/capability-manager-enhanced/includes/admin-load.php(128): _pp_capabilities_is_block_editor_active()\n#3 /var/www/vhosts/***************/wp-content/plugins/capability-manager-enhanced/includes/admin-load.php(144): PP_Capabilities_Admin_UI->applyFeatureRestrictions()\n#4 /var/www/vhosts/***************/wp-includes/class-wp-hook.php(307): PP_Capabilit...', referer: https://***************/wp-admin/edit.php?post_type=page
If I deactivate your plugin, the error is gone.
Many thanks for your help.
Regards, Bernd
- The topic ‘PHP-Error in editor after updating to WordPress 5.9’ is closed to new replies.