FriendsOfShopware / FroshPlatformBunnycdnMediaStorage

This plugin allows you to use BunnyCDN as a media storage.
MIT License
8 stars 9 forks source link

class loader error on Install #65

Closed ldehne-comcreate closed 6 months ago

ldehne-comcreate commented 8 months ago

PHP Version

8.2

Shopware Version

6.5.8.6

Plugin Version

3.1.2

Actual behaviour

The class "Frosh\BunnycdnMediaStorage\FroshPlatformBunnycdnMediaStorage" is not found. Probably an class loader error. Check your plugin composer.json

Expected behaviour

install working without any error.

Steps to Reproduce?

I just installed the plugin on a freshly installed Shopware for use in this project, alongside BunnyCDN. In our other projects, BunnyCDN is working fine, but there it was installed in the past on older versions of Shopware.

tinect commented 8 months ago

How did you install it?

ldehne-comcreate commented 8 months ago

First Composer than tryed over zip and now over store on all the same Error

ldehne-comcreate commented 8 months ago

Okay, I've found a workaround: When I install a different plugin, the same error occurs, but the plugin I had installed before then works. So:

Install plugin -> Error Install a different plugin -> Error Activate first plugin -> Works flawlessly Uninstall second plugin -> First plugin continues to work without any issues.

Its like an bug with shopware autoload or something.

tinect commented 8 months ago

sounds like a problem with your opcache 🤔

tinect commented 6 months ago

We'll close here due to inactivity.