Hello
I look for in this forum and didn't find any answer to my problem, .
So I try to ask.
I'm building a WP website. And I have a new problem today.
All was good yesterday night. And this morning I have a request to update the Ultimate Addon for Gutenberg. So I accept. And I go to modify a page. I can show the Gutenberg modification page 1 sec and It's away. I have a message : Editor unattended error (originally in French : L鈥櫭ヾiteur a rencontr茅 une erreur inattendue.)
And I can't access to modification of pages.
I copied error (using the button for this) and I had this :
Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Brendered%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Pc (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:66:441)
at http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:76:255
at T (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:87:161)
at ph (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:218:209)
at lh (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:126:409)
at O (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:121:71)
at ze (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:118:14)
at http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:53:49
at unstable_runWithPriority (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react.min.0212dc62.js?ver=16.9.0:26:340)
at Ma (http://web.alouestlafrance.info/wp-content/plugins/gutenberg/vendor/react-dom.min.b694e242.js?ver=16.9.0:52:280)
I tried to disable (and delete) UAG but the problem is the same.
Do you have an idea about a solution of this problem?
Thanks
So
I found a solution.
I didn't know why it was working well to yesterday. But it seems than API REST was in error with my NGINX configuration.
So in the NGINX configuration file of my domain, I inserted this part :
location ~ ^/wp-json/ {
rewrite ^/wp-json/(.*?)$ /?rest_route=/$1 last;
}
I reloaded myNGINX configuration on the server, re-activated Gutenberg and it's perfect!
Most helpful comment
So
I found a solution.
I didn't know why it was working well to yesterday. But it seems than API REST was in error with my NGINX configuration.
So in the NGINX configuration file of my domain, I inserted this part :
I reloaded myNGINX configuration on the server, re-activated Gutenberg and it's perfect!