Fatal on plugin activation
-
Hello,
I have installed Enable Media Replace on a multisite installation, and whether I try to enable it on the network or on a single site, I have a fatal when I try to enable it:
Warning: file_get_contents(/var/www/cib/root/web/app/plugins/enable-media-replace/build/shortpixel/composer.json): Failed to open stream: No such file or directory in /var/www/cib/root/web/app/plugins/enable-media-replace/build/shortpixel/PackageLoader.php on line 22
Fatal error: Uncaught Error: Class “EnableMediaReplace\ShortPixelLogger\ShortPixelLogger” not found in /var/www/cib/root/web/app/plugins/enable-media-replace/classes/emr-plugin.php:106 Stack trace: #0 /var/www/cib/root/web/app/plugins/enable-media-replace/enable-media-replace.php(97): EnableMediaReplace\EnableMediaReplacePlugin::get() #1 /var/www/cib/root/web/app/plugins/enable-media-replace/enable-media-replace.php(99): emr() #2 /var/www/cib/root/web/wp/wp-admin/includes/plugin.php(2318): include_once(‘/var/www/cib/ro…’) #3 /var/www/cib/root/web/wp/wp-admin/plugins.php(192): plugin_sandbox_scrape() #4 {main} thrown in /var/www/cib/root/web/app/plugins/enable-media-replace/classes/emr-plugin.php on line 106
I tried to remove the plugin and install it again but the fatal is still present. Do you have any ideas of how to solve it?
Thanks
The topic ‘Fatal on plugin activation’ is closed to new replies.