htmlcache icon indicating copy to clipboard operation
htmlcache copied to clipboard

Server error after updating craft

Open artmem opened this issue 4 years ago • 4 comments

I just updated a site that had been running fine, and now I'm getting a server error when the plugin is enabled.

Here's the error I'm getting in my logs:

2021-01-07 15:47:13 [-][1][grcocb7k0ji0jluvo08qrq75bh][error][Error] Error: Class 'bolden\htmlcache\records\HtmlCacheCache' not found in /.../public_html/vendor/bolden/htmlcache/src/services/HtmlcacheService.php:57

I'm able to disable the plugin, but trying to clear the cache or remove the plugin from the settings page also throws the same error.

artmem avatar Jan 07 '21 21:01 artmem

Here the same issue. Any news or help on that?

hhentschel avatar Jan 22 '21 11:01 hhentschel

Same issue here 😥

martijnkoch avatar Jan 27 '21 09:01 martijnkoch

It seems to be related to the fact that the plugin does not comply with the psr-4 autoloading standard. I get this message during installation.

When I renamed /vendor/bolden/src/records/HtmlCacheCachesRecord.php to HtmlCacheCache.php and /vendor/bolden/src/records/HtmlCacheElementRecord.php to HtmlCacheElement.php the errors were gone.

eriknoorland avatar Feb 10 '21 14:02 eriknoorland

Same issue here, server error, can´t uninstall, this plugin is not longer mantained, DON´T USE IT.

zzseba78 avatar Jan 24 '22 21:01 zzseba78