View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006903 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2018-09-19 06:46 | 2018-09-19 13:53 |
Reporter | sanketraut | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 6.1.0 | ||||
Summary | 0006903: Call to undefined function OxidEsales\EshopCommunity\Core\getLogger() | ||||
Description | After the checkout process is done, and once the user clicks on Order Now button, a PHP error comes up as Call to undefined function OxidEsales\EshopCommunity\Core\getLogger() in vendor\oxid-esales\oxideshop-ce\source\Core\Registry.php on line 323 | ||||
Steps To Reproduce | - Add products to cart - Perform the checkout process - Click Order Now button at the end | ||||
Additional Information | - overridablefunctions.php file inside root source folder doesn't have the getLogger function defined in vendor\oxid-esales\oxideshop-ce\source folder. - Copy paste the function from the file in vendor to the source folder in root. The error would be resolved. | ||||
Tags | Checkout | ||||
Theme | Flow | ||||
Browser | All | ||||
PHP Version | 7.1 | ||||
Database Version | 5.7 | ||||
|
Not reproducible in standard shop installation. shop/source/overridablefunctions.php (Line 199): if (!function_exists('getLogger')) { /** * Returns the Logger * * @return \Psr\Log\LoggerInterface */ function getLogger() { $container = \OxidEsales\EshopCommunity\Internal\Application\ContainerFactory::getInstance()->getContainer(); return $container->get(\Psr\Log\LoggerInterface::class); } } |