Describe the bug
Navigating to any wp-admin/edit.php page will cause a syntax error:
Uncaught SyntaxError: missing ) after argument list
When attempting to edit a post or page I get the same error which seems to cause the whole screen to stay white.
I am creating a custom theme, based off _S with a moderately low amount of new functions. Using git push deployment methods to upload to our staging site. The error only happens on the live site and my local development environment is unaffected. I have cleared caches, removed all plugins, etc.
This may be bug behavior because of the nature of the error. This is very similar to #2941
Expected behavior
Editing screen shows as intended
Screenshots
Desktop (please complete the following information):
Additional context
Issue was resolved by updating roots / soil from 3.7.1 to 3.7.3. The origin came from adding theme support for soil-clean-up.
@cjstage thank's dude! You saved my day :)
I see this issue on our wordpress site, how can I fix this now? I am using this plugin.
@tylerjuliano which version of soil are you using? The mentioned error above was fixed in version 3.7.3. as mentioned by @cjstage.
Current version can be found here: https://github.com/roots/soil/releases
Most helpful comment
Issue was resolved by updating roots / soil from 3.7.1 to 3.7.3. The origin came from adding theme support for soil-clean-up.