JMSJobQueueBundle icon indicating copy to clipboard operation
JMSJobQueueBundle copied to clipboard

Uncaught exception 'Doctrine\ORM\ORMException'

Open jimmy1993k opened this issue 12 years ago • 2 comments

I get a: Fatal error: Uncaught exception 'Doctrine\ORM\ORMException' with message 'Unknown Entity namespace alias 'JMSJobQueueBundle'.'

On every console command I do.

Edit: Only getting this when using the console Application of the JMSJobQueueBundle.

jimmy1993k avatar Oct 23 '13 09:10 jimmy1993k

~~Experiencing~~ Experienced same issue. Symfony 2.3.1, JMSJQB v1.0.0 (d6ed46d)

It turned out my issue was solved by updating my entity manager mappings to add the JMSJobQueueBundle to the mappings as below:

doctrine:
    orm:
        entity_managers:
            default:
                mappings:
                     JMSJobQueueBundle: ~

ReactiveRaven avatar Nov 19 '13 16:11 ReactiveRaven

Same issue with my tests (so console too) with Symfony 4.4. Sadly, changing the config did not help. Any ideas?

fnagel avatar Apr 11 '22 14:04 fnagel