• Resolved nitinsinghal

    (@nitinsinghal)


    Hi,

    I have just installed this plugin & I am getting below Notice. Please suggest:

    Notice: register_rest_route was called incorrectly. The REST API route definition for rmnscta/v1/proxy 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 /home/webroot/dev.substancerehabcenter.com/wp-includes/functions.php on line 5226

    I am getting on this page link:

    /wp-admin/admin.php?page=amp-onboarding-wizard

    Regards

    • This topic was modified 4 years, 2 months ago by nitinsinghal.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Hi there

    Even though you happen to see this on a screen associated with the AMP plugin, the error is not coming from the AMP plugin itself at all.

    One of your other plugins is registering REST API routes like rmnscta/v1/proxy in a wrong way.

    This is not a route the AMP plugin uses, at it would be using “amp” in the route name.

    I recommend you to search your other plugins for the string “rmnscta” or disabling them one by one until the error disappears to find the culprit. But it’s really not the AMP plugin.

    Thread Starter nitinsinghal

    (@nitinsinghal)

    @swissspidy

    Hi,

    Thanks for the update. Actually I wasn’t getting this error until I installed AMP. But I think I have found the culprit. Yes, you were right. It is the different plugin. I have sent the message to the plugin team. Sorry to bother you.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘register_rest_route was called incorrectly’ is closed to new replies.