Deactivation – Fatal error
-
Dear team,
when I tried to deactivate the plug in, I have received fatal error:
Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/nfsmnt/hosting2_2/3/e/3ecb127c-d793-4d9c-bf32-0284ae55d2c4/rainbow-heart.sk/web/wp-content/cache/asset-cleanup/): failed to open dir: No such file or directory in /nfsmnt/hosting2_2/3/e/3ecb127c-d793-4d9c-bf32-0284ae55d2c4/rainbow-heart.sk/web/wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:203 Stack trace: #0 /nfsmnt/hosting2_2/3/e/3ecb127c-d793-4d9c-bf32-0284ae55d2c4/rainbow-heart.sk/web/wp-content/plugins/wp-asset-clean-up/classes/Plugin.php(203): RecursiveDirectoryIterator->__construct(‘/nfsmnt/hosting…’) #1 /nfsmnt/hosting2_2/3/e/3ecb127c-d793-4d9c-bf32-0284ae55d2c4/rainbow-heart.sk/web/wp-content/plugins/wp-asset-clean-up/classes/Plugin.php(148): WpAssetCleanUp\Plugin::removeCacheDirWithoutAssets() #2 /nfsmnt/hosting2_2/3/e/3ecb127c-d793-4d9c-bf32-0284ae55d2c4/rainbow-heart.sk/web/wp-includes/class-wp-hook.php(287): WpAssetCleanUp\Plugin->whenDeactivated(false) #3 /nfsmnt/hosting2_2/3/e/3ecb127c-d793-4d9c-bf32-0284ae55 in /nfsmnt/hosting2_2/3/e/3ecb127c-d793-4d9c-bf32-0284ae55d2c4/rainbow-heart.sk/web/wp-content/plugins/wp-asset-clean-up/classes/Plugin.php on line 203I was able to deactivate the plug-in on the dev site after I commented/disabled whole function public static function removeCacheDirWithoutAssets().
Please help how to get rid of this on production.
thank you
- The topic ‘Deactivation – Fatal error’ is closed to new replies.