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/support
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.) 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/heartbeat
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.) 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_location
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.) 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
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.) 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/ids
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.) 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_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 /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.