Reset API Route errors
-
Since update to WP 5.3, getting numerous warnings in debug for POS like the following:
[12-Feb-2021 15:28:58 UTC] PHP Notice: register_rest_route was called incorrectly. The REST API route definition for
wc-pos/application/supportis 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.) in /var/www/vhosts/…/httpdocs/wp-includes/functions.php on line 5229
[12-Feb-2021 15:28:58 UTC] PHP Notice: register_rest_route was called incorrectly. The REST API route definition forwc-pos/application/heartbeatis 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.) in /var/www/vhosts/…/httpdocs/wp-includes/functions.php on line 5229
[12-Feb-2021 15:28:58 UTC] PHP Notice: register_rest_route was called incorrectly. The REST API route definition forwc-pos/application/allowed_locationis 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.) in /var/www/vhosts/…/httpdocs/wp-includes/functions.php on line 5229
[12-Feb-2021 15:28:58 UTC] PHP Notice: register_rest_route was called incorrectly. The REST API route definition forwc-pos/groupsis 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.) in /var/www/vhosts/…/httpdocs/wp-includes/functions.php on line 5229
[12-Feb-2021 15:28:58 UTC] PHP Notice: register_rest_route was called incorrectly. The REST API route definition forwc-pos/groups/idsis 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.) in /var/www/vhosts/…/httpdocs/wp-includes/functions.php on line 5229
[12-Feb-2021 15:28:58 UTC] PHP Notice: register_rest_route was called incorrectly. The REST API route definition forwc-pos/groups/(?P<id>[\d]+)is 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.) in /var/www/vhosts/…/httpdocs/wp-includes/functions.php on line 5229Can you advise when these will be fixed?
The topic ‘Reset API Route errors’ is closed to new replies.