Cant edit Posts”The editor has encountered an unexpected error.
-
I’m receiving the error below when I’m trying to add or edit a POST while logged in with users with the User role is set as EDITOR. (The Editor user role is able to edit PAGES just fine though).
Users set to the role of Administrators do not receive the error and are able to edit posts as normal when the plugin is activated.
TypeError: Cannot read properties of undefined (reading '_s')
at o (https://www.mydomain.com/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/links.96350b09.js:5:3390)
at d (https://www.mydomain.com/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/primary-term.3b3ca6e3.js?ver=4.4.5.1:1:1780)
at I (https://www.mydomain.com/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/primary-term.3b3ca6e3.js?ver=4.4.5.1:1:1876)
at https://www.mydomain.com/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/primary-term.3b3ca6e3.js?ver=4.4.5.1:1:4104
at wt (https://www.mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47637)
at js (https://www.mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:120584)
at wl (https://www.mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88659)
at bl (https://www.mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88587)
at yl (https://www.mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88450)
at il (https://www.mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85274)I have disabled all plugins except for AIOSEO and have tried it out on the default Twenty Twenty theme. The problem still occurs.
Disabling the AIOSEO plugin resolves the issue completely.
Could anyone shed some light on why this is happening and a solution for a possible fix?
- The topic ‘Cant edit Posts”The editor has encountered an unexpected error.’ is closed to new replies.