“The editor has encountered an unexpected error.” in Newspaper theme

Posted in: Newspaper
Post count: 6

Hi,
I have been using this theme more than 2 years but last couple of weeks When I try to add a new post or edit old one, sometimes I get an error, “The editor has encountered an unexpected error.” I click “attempt recovery” button but nothing happens. And also mostly I can not set “featured image”, click the featured image box but nothing happen now. normally I have to go to gallery..
What can I do to correct this?

Post count: 35449

Hi enginzey, please make sure that you are using the latest versions of theme (Newspaper v11) and WordPress (v5.7.2), if you have theme and the problem persist, then please make a test only with tagDiv plugin enabled. Most of the time this can be a plugin conflict. Also make sure that ALL theme requirements are set at like in our guide https://forum.tagdiv.com/requirements-for-newspaper/
Let me know the results!

Post count: 6

Hi Calin,
First of all thank you for your reply. Actually I am using Newspaper v7.5.
I download new theme zip from the themeforest.com, I think it is v11.
How can I update the theme? there is no option in the themes page in the wordpress.
https://australiasamoanews.com/ this is our website, and if I update v11 version, my website looks same ?
Regards

Post count: 18283

Hello!

Unfortunately upgrading from 7.5 to 11 will be a bit hard. A lot of changes have been made. What I personally recommend is to treat going to Newspaper Theme 11 as to a new theme. It is easier to consider it like this. Also what I recommend is to install the Newspaper Theme via FTP: https://forum.tagdiv.com/install-via-ftp/ Or to update via FTP: https://forum.tagdiv.com/how-to-update-the-theme-2/

I hope this was helpful!
Thank you!

Post count: 6

Hi Vlad,
I thought like you, it should not be easy to update v11. Actually I am happy with v7.5 my biggest problem is sometimes 50% (not always) I can not set “featured image”, click the featured image box but nothing happen now, normally I have to go to gallery.. If we can solve this problem everything fine for me..

Post count: 35449

Hi enginzey, the problem is that if you have one of the latest WordPress versions, then will be a lot of elements that will not work.
Also in some situations after theme or plugins updates you can have some new conflicts, for example some users reported a few years ago this problem and was related to jetpack plugin https://wordpress.org/support/topic/the-editor-has-encountered-an-unexpected-error-attempt-recovery-copy-post-text/ what you can do is to make a test using only the theme plugins and see if the problem persist.
Also update the theme is a solution, but I suggest to update the theme on staging or subdomain also after the theme is updated (as Vlad said, use the FTP/cPanel method), please make sure that you activate tagDiv Composer and tagDiv Standard Pack.
Thank you!

Post count: 1

Hi,i got the same problem but, in my case, everything its updated. MY WEBSITE STATUS my website status and sometimes, when try to add a new post the “the editor has encountered an unexpected error” appears.

The log showme this:
gr@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:69367
Br@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:80576
unstable_runWithPriority@https://mywebsitename/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431
xn@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:29950
Ar@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:78537
Pr@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:74654
n/Nn/<@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30173
unstable_runWithPriority@https://mywebsitename/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431
xn@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:29950
Nn@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30120
_n@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30053
Er@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:72039
Rt@https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:48732
e@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:26468
t@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:26503
ce/v/t.subscribe/o<@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:18493
ie/instantiate/y</<@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:16775
d@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:7063
k/</</<@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:10451
i/</</<@https://mywebsitename/wp-includes/js/dist/redux-routine.min.js?ver=5156478c032ea85a2bbdceeb7a43b0c1:2:8811
P/</<@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:9297
U/</</<@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:10389
ie/instantiate/i/u/a/<@https://mywebsitename/wp-includes/js/dist/data.min.js?ver=38ad563aa39c8f314fe6f6e430d81a69:2:15569

but changes everytime

Error: Failed to execute ‘removeChild’ on ‘Node’: The node to be removed is not a child of this node.
at gr (https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:69367)
at Br (https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:80574)
at unstable_runWithPriority (https://mywebsitename/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:24:26)
at xn (https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:29950)
at Ar (https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:78535)
at Pr (https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:74654)
at https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30173
at unstable_runWithPriority (https://mywebsitename/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:24:26)
at xn (https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:29950)
at Nn (https://mywebsitename/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30118)

Can you help me on this?

Post count: 27744

Hello,

Please update to the PHP version 7.4.
Also, this is a guide on how can fix this issue
-> https://www.techrbun.com/wordpress-editor-unexpected-error-fix/
-> https://thomas.vanhoutte.be/miniblog/wordpress-fix-the-editor-has-encountered-an-unexpected-error/
-> https://techjourney.net/how-to-fix-the-editor-has-encountered-an-unexpected-error-in-wordpress/

I hope those guides will help you to resolve the problem.

Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.