Constant notice: The REST API route definition for <code>rollbar/v1/test-php-logging</code> is missing the required <code>permission_callback</code> argument. #99
Thanks for this excellent plugin. It seems Wordpress 5.5 made some changes which cause a constant flow of these warnings in my rollbar reports:
E_USER_NOTICE: register_rest_route was called incorrectly. The REST API route definition for rollbar/v1/test-php-logging 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.)
Hello,
Thanks for this excellent plugin. It seems Wordpress 5.5 made some changes which cause a constant flow of these warnings in my rollbar reports:
E_USER_NOTICE: register_rest_route was called incorrectly. The REST API route definition for
rollbar/v1/test-php-logging
is missing the requiredpermission_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.)