Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error in Javascript: Improperly escaped script in wp-admin/edit.php #13029

Closed
cjstage opened this issue Dec 19, 2018 · 4 comments
Closed

Comments

@cjstage
Copy link

cjstage commented Dec 19, 2018

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
screen shot 2018-12-19 at 4 16 42 pm
screen shot 2018-12-19 at 4 16 46 pm

Desktop (please complete the following information):

  • OS: macOS Sierra 10.12
  • Browser: Chrome
  • Version: 70.0.3538.110

Additional context

  • Wordpress Core 5.0.1
  • Local Dev: Docker image wordpress:4.7.5-apache (updated to 5.0.1)
  • Remote: WPengine
@cjstage
Copy link
Author

cjstage commented Dec 19, 2018

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 cjstage closed this as completed Dec 19, 2018
@mmoscher
Copy link

mmoscher commented Apr 1, 2019

@cjstage thank's dude! You saved my day :)

@ghost
Copy link

ghost commented Jul 26, 2019

I see this issue on our wordpress site, how can I fix this now? I am using this plugin.

@mmoscher
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants