WordPress Notice
-
Hi there,
I am currently using PHP 8.0 and WordPress version 6.1.1 and I noticed multiple warnings like these in the backend, when I enable the WordPress debugging:
Notice: Function register_rest_route was called incorrectly. The REST API route definition for better-rest-endpoints/v1/post/(?P\d+) 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 /nas/content/live/mwm001staging/wp-includes/functions.php on line 5835
Notice: Function register_rest_route was called incorrectly. The REST API route definition for better-rest-endpoints/v1/post/(?P\S+) 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 /nas/content/live/mwm001staging/wp-includes/functions.php on line 5835
Notice: Function register_rest_route was called incorrectly. The REST API route definition for better-rest-endpoints/v1/posts 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 /nas/content/live/mwm001staging/wp-includes/functions.php on line 5835
Notice: Function register_rest_route was called incorrectly. The REST API route definition for better-rest-endpoints/v1/pages 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 /nas/content/live/mwm001staging/wp-includes/functions.php on line 5835
And they keep going on like this for all post types.
It looks like these notices are coming from Yoast SEO Premium (version 15.9) plugin because when I disable it, those warnings disappear.
Would you please be able to help resolve these warnings? Please let me know if I can provide any other information.
Thank you!
- The topic ‘WordPress Notice’ is closed to new replies.