• Hello!

    I’ve found some error logs which seems to be caused when WP Super Minify is loading dependencies while WP Rocket plugin is enabled.

    you can find the full log in this snippet https://snippi.com/raw/uma6bhe

    in the logic bellow, it seems that JSMIN and Minify/CSS.php are loaded only if Minify_HTML class doesn’t exist, but this class does exist in WP Rocket.

            if (!class_exists('Minify_HTML')) {
    			require_once("$minify_lib_path/lib/Minify/HTML.php");
    			ini_set('include_path', ini_get('include_path').":$minify_lib_path/lib");
    			require_once("$minify_lib_path/lib/Minify/CSS.php");
    			require_once("$minify_lib_path/lib/JSMin.php");
    			require ("$minify_lib_path/lib/Minify/Loader.php");
    			Minify_Loader::register();
    		}
  • The topic ‘Conflicts with WP Rocket when loading dependencies’ is closed to new replies.