Miroslav Trninic
Miroslav Trninic

Reputation: 3455

Laravel IronMQ class not found exception

I am trying to push new queue using iron.io and Laravel queues. Upon deploy I got this message:

Class 'IronMQ' not found

But,there is no class with that name - there is IronMQ_Message class in iron.io package. That package is very simple, and it is not so hard to take a peak inside, but I wonder am I missing something ? Maybe some recent fixes, because I am using it for the first time ? Anybody had that issue ?

Thanks

Upvotes: 3

Views: 890

Answers (1)

Antonio Carlos Ribeiro
Antonio Carlos Ribeiro

Reputation: 87779

You need to add

"iron-io/iron_mq": "dev-master"

To your composer.json.

Then delete your vendor folder, your composer.lock and

composer install 

Again. Sometimes we get those errors with Iron.

Upvotes: 6

Related Questions