Error Exception: register_rest_route
-
The following exception is throws by the Zapier plugin:
User Notice: register_rest_route was called incorrectly. The REST API route definition for
zapier/v1/tokenis missing the requiredpermission_callbackargument. For REST API routes that are intended to be public, use__return_trueas the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)Seems like it is caused by line 92 of Zapier__Auth:
'callback' => array($this, 'generate_token'),
The topic ‘Error Exception: register_rest_route’ is closed to new replies.