0
나는이 오류를 데에 catch되지 않은 예외 :치명적인 오류 : 젠드, ServiceManager에이
$app = Zend\Mvc\Application::init(require 'config/application.config.php');
$application = $app->getMvcEvent()->getApplication();
$sm = $application->getServiceManager();
$webinar_controller = $sm->get('Professor/Controller/WebinarController');
를 원래 프로젝트 외부 루틴에서 :
(!) Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for Professor/Controller/WebinarController' in /uov-videos/www/david/plataovirtual/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php on line 526
이것은 내가 사용하려고하고있을 때 발생합니다.
제안 사항?
원래 프로젝트 마녀에는 컨트롤러가 이미 업데이트되었습니다. 문제는 다른 프로젝트의 서버 루틴에서 작업에 액세스하는 방법입니다. –