I've transferred my wordpress website from a ispmanager to aws EC2. Everything is working fine instead of one thing. I'm unable to edit pages/posts. When I click edit button it redirect to white screen page.
I also tried multiple browsers but return same white screen page.
I found this error in developer console:
Uncaught SyntaxError: Unexpected identifier (chrome)
Uncaught SyntaxError: missing } after property list (firefox)
I deactivated all plugins and tried edit posts/pages but gave same results
How Can I fix this issue?
After Enable debug mode I found this errors :
CodePudding user response:
It seems something related to your theme. Try switching themes.
some other possible solutions
Double-check your PHP version should be the same as the previous host
Increasing the Memory Limit
Disable all plugins
If not working u can try with the Classic Editor plugin & Gutenberg you can switch between these & see what works for you.
CodePudding user response:
At a quick glance, looks like a browser caching issue. Try the following:
Clear browser cache/cookies etc. and restart the browser/PC Check with a different browser Depending on how you migrated (transferred) the site, it is possible that all files did not get transferred fully and/or the database did not get imported fully. If 1. and 2. above fail, delete everything from the VPS and try again.