register_rest_route was called incorrectly
-
Hello there,
On our staging, testing the updated woocommerce v6 with the other plugins before updating live while debugging is on, when I noticed that at the bottom of the page (All products, Add new, Categories, Tags, Attributes) there was an error related to points and rewards plugin:register_rest_route was called incorrectly. The REST API route definition for wc/v3/settings/points-rewards-product 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 /www/yuehlia_742/public/wp-includes/functions.php on line 5663 Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/settings/points-rewards-redeem 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 /www/yuehlia_742/public/wp-includes/functions.php on line 5663 Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/user/points 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 /www/yuehlia_742/public/wp-includes/functions.php on line 5663 Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/user/redeem-points 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 /www/yuehlia_742/public/wp-includes/functions.php on line 5663
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘register_rest_route was called incorrectly’ is closed to new replies.