shopware-blog / shopware-environment-variables

MIT License
7 stars 2 forks source link

Support PHP 7.2 #14

Closed wildi1 closed 6 years ago

wildi1 commented 6 years ago

Hello,

when trying to use the plugin under PHP 7.2.10-1, then Shopware crashes when you try to go to the Backend:

Fatal error: Shopware_Plugins_Backend_Auth_Bootstrap::initLocale(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Shopware\Proxies__CG__\Shopware\Models\Shop\Locale" of the object you are trying to operate on was loaded before unserialize() gets called or provide an autoloader to load the class definition in vendor/shopware/shopware/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php on line 429

wildi1 commented 6 years ago

Problem was solved with logout and cleared Browser Cache. A little bit strange...