• Resolved spitfirespf59

    (@spitfirespf59)


    Just updated Smush and now Divi 4.0 page builder will not load, loads when I deactivate Smush, anyone else having issues?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same here “Fatal error”, I think this is a DIVI issue not Smush ?? I will log ticket to DIVI.

    [23-Oct-2019 11:27:10 UTC] PHP Fatal error: Uncaught Error: Class ‘WP_Smush’ not found in /home/domainname/public_html/wp-content/themes/Divi/includes/builder/plugin-compat/wp-smushit.php:50

    Same problem here. I rolled Smush back to version 3.2.4 and it seems to be working fine now. Makes me think the problem is with smush, not with Divi. Or could it be both?

    Anyway, I hope it’ll be fixed soon! For now I’ll keep using Smush 3.2.4

    Divi will need to update their compatibility module. For now this can be resolved by editing the wp-content/themes/Divi/includes/builder/plugin-compat/wp-smushit.php file and on line 50 replacing:

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

    with:

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

    Best regards,
    Anton

    @vanyukov Thanks for the reply! I replaced the code and it works fine now.

    @anton – how do I edit the “wp-content/themes/Divi/includes/builder/plugin-compat/wp-smushit.php”? Do I do it through WordPress menu?

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @ematus

    I trust you’re doing well!

    The wp-smushit.php file located in your site’s folders, these can’t be edited directly via the WordPress Dashboard. Please access your site’s folders via FTP, or via your cPanel by using a File Manager.

    Kind regards,
    Nastia

    Thread Starter spitfirespf59

    (@spitfirespf59)

    Just updated to Divi 4.03 and all appears well

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Smush with Divi 4.0’ is closed to new replies.