htmlcache icon indicating copy to clipboard operation
htmlcache copied to clipboard

Uninstall fails

Open luke-nehemedia opened this issue 3 years ago • 1 comments

How can I uninstall the plugin? I always get an error:

*** failed to uninstall html-cache: Getting unknown property: bolden\htmlcache\HtmlCache::htmlcacheService

Since the plugin is not developed anymore, I would like to remove it from the system.

luke-nehemedia avatar Mar 09 '22 09:03 luke-nehemedia

I know this is quite old but I just had the same issue and found out that the htmlcacheService Property is only assigned to the HtmlCache Class if you're not in Console-Mode. This has the effect that you can only uninstall the plugin from the Control Panel.

Another hint: Ensure that the directory storage/runtime/htmlcache exists or otherwise you'll get an exception when attempting to uninstall from the control panel.

Maybe this helps anyone in the future.

scholejo avatar Sep 23 '22 15:09 scholejo