View Issue Details

IDProjectCategoryView StatusLast Update
0006903OXID eShop (all versions)1.03. Basket, checkout processpublic2018-09-19 13:53
Reportersanketraut Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version6.1.0 
Summary0006903: Call to undefined function OxidEsales\EshopCommunity\Core\getLogger()
DescriptionAfter 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.
TagsCheckout
ThemeFlow
BrowserAll
PHP Version7.1
Database Version5.7

Activities

QA

2018-09-19 13:53

administrator   ~0012627

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);
    }
}