I am trying to:
Edit a page in the backend.
Link to a page where the issue can be seen:
dev-surrounding
I expected to see:
page editor
Instead, I got:
A blank page. With the follwoing erros displaying in the console:
react-dom.min.js?ver=16.13.1:125 SyntaxError: Unexpected token u in JSON at position 1
at JSON.parse (<anonymous>)
at save (blocks.editor.js:1)
at Wt (blocks.min.js:3)
at Qt (blocks.min.js:3)
at block-editor.min.js:12
at hooks.min.js:2
at $r (blocks.min.js:3)
at Ur (blocks.min.js:3)
at Array.map (<anonymous>)
at Ur (blocks.min.js:3)
Me @ react-dom.min.js?ver=16.13.1:125
react.min.js?ver=16.13.1:24 Uncaught SyntaxError: Unexpected token u in JSON at position 1
at JSON.parse (<anonymous>)
at save (blocks.editor.js:1)
at Wt (blocks.min.js:3)
at Qt (blocks.min.js:3)
at block-editor.min.js:12
at hooks.min.js:2
at $r (blocks.min.js:3)
at Ur (blocks.min.js:3)
at Array.map (<anonymous>)
at Ur (blocks.min.js:3)
post.php:1 Uncaught (in promise) SyntaxError: Unexpected token u in JSON at position 1
at JSON.parse (<anonymous>)
at save (blocks.editor.js:1)
at Wt (blocks.min.js:3)
at Qt (blocks.min.js:3)
at block-editor.min.js:12
at hooks.min.js:2
at $r (blocks.min.js:3)
at Ur (blocks.min.js:3)
at Array.map (<anonymous>)
at Ur (blocks.min.js:3)
I disabled all plugins just leaving the toolset plugins active - same problem.
When I just disable the forms plugin it works like it should.
Please help.
Thanks and best regards, Hannes
Hello,
The problem you mentioned above is abnormal, please try these:
1) Deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets
2) Get PHP debug logs from your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging
section "PHP Debugging"
3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/