Edit pages blank due to theme error
-
Updated to 5.0.1. After update, every page/post I tried to edit led to a blank white screen. Turning off/on plugins & themes revealed problem is with custom theme. Ran js debug in Chrome. SCRIPT_DEBUG did not resolve.
The first error (of roughly ~50) returned is “Uncaught SyntaxError: missing ) after argument list” on post.php?post=1662&action=edit:97. When I expand that error/page, it looks like a minified file is breaking.
After that, the errors tend to be “Uncaught ReferenceError: wp is not defined at post.php?post=1662&action=edit:125”
Any help with further debugging would be appreciated! I don’t know if this is a unique problem, or something we did to the theme that is now deprecated or broken?
EDIT/UPDATE: Installed the Health Check plugin, but after activating the problem theme within the troubleshooting mode and going to the Debug Information tab, nothing is displayed (no data at all below the section tabs)
- The topic ‘Edit pages blank due to theme error’ is closed to new replies.