Warning: Use of undefined constant _PS_ENV_ - assumed '_PS_ENV_' (this will throw an Error in a future version of PHP) in /var/www/dstockmicro/src/Adapter/Environment.php on line 64

Fatal error: Uncaught Error: Call to undefined method Currency::getPattern() in /var/www/dstockmicro/src/Core/Localization/Currency/DataLayer/CurrencyDatabase.php:120 Stack trace: #0 /var/www/dstockmicro/src/Core/Data/Layer/AbstractDataLayer.php(90): PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead(Object(PrestaShop\PrestaShop\Core\Localization\Currency\LocalizedCurrencyId)) #1 /var/www/dstockmicro/src/Core/Data/Layer/AbstractDataLayer.php(150): PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->read(Object(PrestaShop\PrestaShop\Core\Localization\Currency\LocalizedCurrencyId)) #2 /var/www/dstockmicro/src/Core/Data/Layer/AbstractDataLayer.php(94): PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->propagateRead(Object(PrestaShop\PrestaShop\Core\Localization\Currency\LocalizedCurrencyId)) #3 /var/www/dstockmicro/src/Core/Localization/Currency/CurrencyDataSource.php(67): PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->read(Object(PrestaShop\PrestaShop\Core\Localization\ in /var/www/dstockmicro/src/Core/Localization/Currency/DataLayer/CurrencyDatabase.php on line 120