Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel IronMQ class not found exception

Tags:

queue

laravel

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

like image 516
Miroslav Trninic Avatar asked Nov 24 '25 00:11

Miroslav Trninic


1 Answers

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.

like image 151
Antonio Carlos Ribeiro Avatar answered Nov 26 '25 22:11

Antonio Carlos Ribeiro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!