Category: beanstalkd

Argument 2 passed to PheanstalkJob::__construct() must be of the type string, null given

I’m running a Laravel application and using Beanstalkd and “pda/pheanstalk”: “^4.0” for my queue and it works perfectly. However, after a few hours, my jobs start crashing and it throws this crash and when I do php artisan queue:restart it…

Symfony 4 autowiring not working properly

Here is the context: Installed beanstalk bundle with composer “composer require leezy/pheanstalk-bundle” I’m trying to using inside a command but i get this error Cannot autowire service “AppCommandWorkerProcessParserCommand”: argument “$pheanstalk” of method “__construct()” references interface “PheanstalkContractPheanstalkInterface” but no such service…