Support » Plugin: Gutenberg Block Manager » Notice: register_rest_route was called incorrectly

  • Resolved Matthias Pabst

    (@matthiaspabst)


    Hi,

    I really like this plugin. It’s very easy to manage the blocks on the settings page.

    Unfortunately, PHP posts some notices when WP_DEBUG is set to true.

    In the post editor:

    Notice: register_rest_route was called incorrectly. The REST API route definition for gbm/toggle is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /Applications/MAMP/htdocs/wp-test/wp-includes/functions.php on line 5225
    Notice: register_rest_route was called incorrectly. The REST API route definition for gbm/bulk_process is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /Applications/MAMP/htdocs/wp-test/wp-includes/functions.php on line 5225

    It would be great if you could fix this in a future release. Keep up the good work!

    Matthias

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.