Notice: Trying to get property of non-object in /var/www/html/limocart/b2c/module/Application/config/module.config.php on line 43

Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotCreatedException' with message 'The factory was called but did not return an instance.' in /var/www/html/limocart/b2c/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php:867 Stack trace: #0 /var/www/html/limocart/b2c/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php(985): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Object(Closure), 'locales', 'locales') #1 /var/www/html/limocart/b2c/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->createFromFactory('locales', 'locales') #2 /var/www/html/limocart/b2c/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php(557): Zend\ServiceManager\ServiceManager->doCreate('locales', 'locales') #3 /var/www/html/limocart/b2c/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php(481): Zend\ServiceManager\ServiceManag in /var/www/html/limocart/b2c/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php on line 860