WordPress v5.0.3 Gutenberg & JS error “Uncaught SyntaxError: missing ) after argument list”

The issue for me was the clean_script_tag() function from Soil.

Removing add_filter('script_loader_tag', 'clean_script_tag'); solved the bug for me.

Leave a Comment