wpeventmanager / wpem-rest-api

GNU General Public License v3.0
0 stars 3 forks source link

Need to fix debug log and error of REST API. #11

Closed krinaydhanani closed 2 years ago

krinaydhanani commented 3 years ago

Need to fix debug log and error of REST API.

debug.log

I got the below error on the WooCommerce every page.

image

Notice: register_rest_route was called incorrectly. The REST API route definition for wpem-auth/appkey 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 D:\Xampp\htdocs\wpem\wp-includes\functions.php on line 5311

Notice: register_rest_route was called incorrectly. The REST API route definition for wpem/branding 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 D:\Xampp\htdocs\wpem\wp-includes\functions.php on line 5311

Notice: register_rest_route was called incorrectly. The REST API route definition for wpem/events/(?P[\d]+)/attendees/(?P[\d]+)/qrcode 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 D:\Xampp\htdocs\wpem\wp-includes\functions.php on line 5311

krinaydhanani commented 3 years ago

Still, I am facing the same issue.

mistry-jignesh commented 3 years ago

This issue is fixed. Now error message is not display.

krinaydhanani commented 3 years ago

This issue is not fixed. Still, I am facing the same errors. I am facing this issue only in my local environment.

jrsarath commented 2 years ago

was not reproduced, marking as fixed. @krinaydhanani probably ur wordpress debug was on or php error level was set to debug

mistry-jignesh commented 2 years ago

Verified this issue. Now this error message is not reproduced.

So I closed the issue.