Plugin Activation Issue: 401 Error on wp-json Endpoint Disrupts Ajax
-
401 error when activating your plugin and therefore Ajax is not working correctly which results in woocommerce stuff not working properly.
WordPress Version:?6.1.3
Current WordPress Theme:?Hello Elementor version 2.8.1
PHP Version:?8.1.21
MySQL Version:?10.4.20-MariaDBmysite.com/wp-json/wp/v2/users/me?context=edit&_locale=user
JQMIGRATE: Migrate is installed, version 3.3.2 api-fetch.min.js?ver=bc0029ca2c943aec5311:2 GET https://mysite.com/wp-json/wp/v2/users/me?context=edit&_locale=user 401 T @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 l @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 O @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 o @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 O.method.r @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 o @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 t @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 v @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 (anonymous) @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 A @ api-fetch.min.js?ver=bc0029ca2c943aec5311:2 d @ preferences-persistence.min.js?ver=c5543628aa7ff5bd5be4:2 v @ preferences.min.js?ver=5e6c91c252c0e040f379:2 (anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2 (anonymous) @ (index):284 (anonymous) @ (index):285 mysite.com/:1 Uncaught (in promise) {code: 'rest_not_logged_in', message: 'Du bist im Moment nicht angemeldet.', data: {…}}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin Activation Issue: 401 Error on wp-json Endpoint Disrupts Ajax’ is closed to new replies.