Autoptimize not working in mu-plugins?
-
Hi, tried putting autoptimize in “mu-plugins” and added it to my “loadplugins.php” like this
require(WPMU_PLUGIN_DIR . '/autoptimize/autoptimize.php');
But no luck… it gives me these errors:
Warning: include(/home/site/public_html/wp-content/plugins/autoptimize/classes/autoptimizeConfig.php): failed to open stream: No such file or directory in /home/site/public_html/wp-content/mu-plugins/autoptimize/autoptimize.php on line 18 Warning: include(): Failed opening '/home/site/public_html/wp-content/plugins/autoptimize/classes/autoptimizeConfig.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/wp-content/mu-plugins/autoptimize/autoptimize.php on line 18 Warning: include(/home/site/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php): failed to open stream: No such file or directory in /home/site/public_html/wp-content/mu-plugins/autoptimize/autoptimize.php on line 24 Warning: include(): Failed opening '/home/site/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/wp-content/mu-plugins/autoptimize/autoptimize.php on line 24 Fatal error: Class 'autoptimizeConfig' not found in /home/site/public_html/wp-content/mu-plugins/autoptimize/autoptimize.php on line 42
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Autoptimize not working in mu-plugins?’ is closed to new replies.