• 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)

    • This topic was modified 6 years, 2 months ago by heinyken.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter heinyken

    (@heinyken)

    I don’t know what other documentation to provide to make this easier – I’m not familiar with the errors I’m getting or how to debug them, unfortunately.

    I’ve had this one too and I thought it was the jetpack module at first, so I tried disabling it as well as Autoptimizer plugin, but issue is still there. I think minifying them with Autoptimizer might have been the cause but I’m not too sure. Someone needs to verify.

    Found the issue. It was caused by child theme incompatibility for my website. I was using a custom Divi child theme and somehow all these issues popped up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit pages blank due to theme error’ is closed to new replies.