An error occurred

An error occurred during execution; please try again later.


Additional information:

Zend\ServiceManager\Exception\ServiceLocatorUsageException

File:
/home/babyjewe/vendor/zendframework/zend-servicemanager/src/Exception/ServiceLocatorUsageException.php:34
Message:
Service "ViewRenderer" has been requested to plugin manager of type "Zend\Mvc\Controller\PluginManager", but couldn't be retrieved.
A previous exception of type "Zend\ServiceManager\Exception\ServiceNotFoundException" has been raised in the process.
By the way, a service with the name "ViewRenderer" has been found in the parent service locator "Zend\ServiceManager\ServiceManager": did you forget to use $parentLocator = $serviceLocator->getServiceLocator() in your factory code?
Stack trace:
#0 /home/babyjewe/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(312): Zend\ServiceManager\Exception\ServiceLocatorUsageException::fromInvalidPluginManagerRequestedServiceName(Object(Zend\Mvc\Controller\PluginManager), Object(Zend\ServiceManager\ServiceManager), 'ViewRenderer', Object(Zend\ServiceManager\Exception\ServiceNotFoundException))
#1 /home/babyjewe/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(118): Zend\ServiceManager\AbstractPluginManager->tryThrowingServiceLocatorUsageException('ViewRenderer', false, Object(Zend\ServiceManager\Exception\ServiceNotFoundException))
#2 /home/babyjewe/vendor/zendframework/zend-mvc/src/Controller/PluginManager.php(84): Zend\ServiceManager\AbstractPluginManager->get('ViewRenderer', Array, true)
#3 /home/babyjewe/module/Application/src/Application/Controller/Plugin/SingleProductsPlugin.php(55): Zend\Mvc\Controller\PluginManager->get('ViewRenderer')
#4 /home/babyjewe/module/Application/src/Application/Controller/SingleProductsController.php(16): Application\Controller\Plugin\SingleProductsPlugin->getSingleProduct('14k white gold ...', NULL)
#5 /home/babyjewe/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Application\Controller\SingleProductsController->indexAction()
#6 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#7 /home/babyjewe/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#8 /home/babyjewe/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#9 /home/babyjewe/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /home/babyjewe/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#11 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#12 /home/babyjewe/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#13 /home/babyjewe/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 /home/babyjewe/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 /home/babyjewe/public_html/index.php(21): Zend\Mvc\Application->run()
#16 {main}

Previous exceptions: