Home > other >  Wordpress edit post/page screen is not working
Wordpress edit post/page screen is not working

Time:04-27

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 : enter image description here

CodePudding user response:

It seems something related to your theme. Try switching themes.

some other possible solutions

  1. Double-check your PHP version should be the same as the previous host

  2. Increasing the Memory Limit

  3. Disable all plugins

  4. 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.

  • Related