boldenamsterdam / htmlcache

Cache pages to HTML and boost website performance on Craft CMS 3
MIT License
31 stars 21 forks source link

Server error after updating craft #34

Open artmem opened 3 years ago

artmem commented 3 years ago

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.

hhentschel commented 3 years ago

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

martijnkoch commented 3 years ago

Same issue here 😥

eriknoorland commented 3 years ago

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.

zzseba78 commented 2 years ago

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