'Wordpress edit post/page screen is not working
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?
Solution 1:[1]
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.
Solution 2:[2]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Alpha_Dev |
Solution 2 | Vipin Singh |