Skip to content
This repository has been archived by the owner on May 14, 2018. It is now read-only.

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid event subscriber "Closure" given, #14

Closed
ghost opened this issue Jul 17, 2012 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 17, 2012

Hi,
I don't understand why but the following line :

https://github.com/bjyoungblood/BjyAuthorize/blob/master/src/BjyAuthorize/Provider/Role/Doctrine.php#L18

... generate error:

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid event subscriber "Closure" given, must be a service name, class name or an instance implementing Doctrine\Common\EventSubscriber'
in vendor\doctrine\doctrine-module\src\DoctrineModule\Service\EventManagerFactory.php:58
Stack trace: #0 [internal function]: DoctrineModule\Service\EventManagerFactory->createService(Object(Zend\ServiceManager\ServiceManager), 'doctrine.eventm...', 'doctrine.eventm...')
#1 vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php(672): call_user_func(Array, Object(Zend\ServiceManager\ServiceManager), 'doctrine.eventm...', 'doctrine.eventm...')
#2 vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php(763): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Array, 'doctrine.eventm...', 'doctrine.eventm...')
#3 vendor\zendframework\ze in vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php on line 679

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants