Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php BjyAuthorize对象管理器_Php_Zend Framework_Bjyauthorize - Fatal编程技术网

Php BjyAuthorize对象管理器

Php BjyAuthorize对象管理器,php,zend-framework,bjyauthorize,Php,Zend Framework,Bjyauthorize,我试图让ZfcUser、ZfcAdmin和BjyAuthorize一起工作 现在我得到了这个错误: 致命错误:未捕获异常 “Zend\ServiceManager\Exception\ServiceNotFoundException”,带有消息 'Zend\ServiceManager\ServiceManager::get无法获取或创建 中“My\Doctrine\Common\Persistence\ObjectManager”的实例 C:\path\u to\u project\vendo

我试图让ZfcUser、ZfcAdmin和BjyAuthorize一起工作

现在我得到了这个错误:

致命错误:未捕获异常 “Zend\ServiceManager\Exc
eption\ServiceNotFoundException”,带有消息
'Zend\ServiceManager\ServiceManager::get无法获取或创建
中“My\Doctrine\Common\Persistence\ObjectManager”的实例
C:\path\u to\u project\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php
在线495

我没有在这个项目中使用原则。 我已经发现问题出在bjyauthorize.global.php文件中

我需要更改对象管理器

因为我还不太熟悉Zend Framework 2或BjyAuthorize。 现在我只是不知道我需要在这里输入什么


希望你们能帮我解决问题。

我和你们有同样的问题,尽管对你们来说可能已经晚了,如果其他人有问题: 条令\Common\Persistence\ObjectManager条令\ORM\EntityManager

更好的是,这里有一个很好的指南(如果您只想下载模块,请滚动到底部):