As of WordPress 5.5.0 the permission_callback is required, or you get this:
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.)
As of WordPress 5.5.0 the
permission_callback
is required, or you get this: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.)This fixes that.