Skip to content

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

@brandoncc

Description

@brandoncc

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 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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions