0
以下のエラーを設定した後、次のエラーが発生します。致命的なエラー:未知の例外 'Zend ServiceManager Exception
http://www.iprogrammerindia.in/crud-operations-zend-framework-2/
Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\InvalidServiceNameException'
with message 'An alias by the name "translator" or "translator" already exists'
in /opt/lampp/htdocs/crudapp/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php:822
Stack trace:
#0 /opt/lampp/htdocs/crudapp/vendor/zendframework/zendframework/library/Zend/ServiceManager/Config.php(149): Zend\ServiceManager\ServiceManager->setAlias('translator', 'MvcTranslator')
#1 /opt/lampp/htdocs/crudapp/vendor/zendframework/zendframework/library/Zend/ModuleManager/Listener/ServiceListener.php(222): Zend\ServiceManager\Config->configureServiceManager(Object(Zend\ServiceManager\ServiceManager))
#2 [internal function]: Zend\ModuleManager\Listener\ServiceListener->onLoadModulesPost(Object(Zend\ModuleManager\ModuleEvent))
#3 /opt/lampp/htdocs/crudapp/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent))
#4 /opt/lampp/htdocs/crudapp in /opt/lampp/htdocs/crudapp/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php on line 822
すでに