Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi @kimberleymiller!

    Do you have the URL to the page where this error is appearing? A lot of that error message is cut off with ... characters, and I only see errors on the the Divi page editor screen.

    That said, speaking with other plugin authors, there are a number of plugins that add support for the new Gutenberg editor blocks in WordPress 5.0 and higher that are having issues and conflicts with Divi. Ideally the Elegant Themes team would be able to take a look and avoid the conflicts. Have you opened a support ticket with them yet?

    Cheers!

    Plugin Author Brian Hogg

    (@brianhogg)

    Hi @kimberleymiller!

    I added a check for Divi in the latest version (2.2) and disabled the new WordPress editor block if the theme is being used. If you update does that solve the issue? I wasn’t able to see that exact problem so might be another plugin in combination with The Events Calendar Shortcode & Block in your setup.

    Cheers!

    Thread Starter kimberleymiller

    (@kimberleymiller)

    Hi Brian,

    This worked for us! Thank you so much for the update!

    Kim

    The problem is due to WordPress Gutenberg’s some js which doesn’t support defer.
    I had the same problem, I have added a WordPress hook to defer js. I have added a condition now that the hook will not call on admin pages and it fixed my issue.

    OLD code:

    add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );

    New code:

    if ( !is_admin() ) {
    add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );
    }

    after this code, it is not adding defer to admin side scripts and it saved me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SyntaxError: missing ) after argument list’ is closed to new replies.