1 year ago

Queue not seeing newly installed package

Posted 1 year ago by johndearborn

Hello, recently I had to install IntlChar package and I stumbled upon a problem. My queue class is constantly giving me this error:

Class 'IntlChar' not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'IntlChar' not found at /var/www/..../app/Listeners/.....php:130)

The package is installed, as I was able to test it in the same app in a class not related to queues in any way.

Obviously I have included IntlChar (use IntlChar I guess) class in my queue listener file. I also have flushed redis/config caches (I used redis for queues), restarted both nginx and PHP, as well as queue worker.

Please sign in or create an account to participate in this conversation.