Divi Builder is not working with Smush.

The latest update of Divi theme is conflicting with Smush plugin. The theme Builder is not loading – can’t edit modules inside

  • Nastia
    • Ex Staff

    Hello Ryan

    I trust you’re doing well!

    The issue looks like coming from Divi’s theme’s compatibility module. Would you please access your site;s folder via FTP and go to wp-content/themes/Divi/includes/builder/plugin-compat/ Please locate and edit the wp-smushit.php file and on line 50 replace this line:
    remove_action( 'wp_enqueue_scripts', array( WP_Smush::get_instance()->core()->mod->lazy, 'enqueue_assets' ) );

    with this line

    remove_action( 'wp_enqueue_scripts', array( Smush\WP_Smush::get_instance()->core()->mod->lazy, 'enqueue_assets' ) );

    This should fix the issue. I’ve tried to access your site’s folders from my end, but unfortunately, the FTP credentials you’ve shared didn’t work.

    Please let us know how it went!

    Kind regards,
    Nastia