vendredi 20 mars 2020

Getting for "could not find driver" when working with redis job in laravel

I installed my laravel app on ubuntu system, and already installed pdo_mysql and mysqli and all extension.

code working fine when I run the job without Redis driver but not working fine when using Redis driver.

I getting below error and it's very strange for me.

could not find driver (SQL: insert into failed_jobs (connection, queue, payload, exception, failed_at) values (redis, default, {"type":"job","timeout":null,"tags":{},"id":"1","data":{"command":"O:26:\"App\Jobs\SapProductSyncJob\":8:{s:9:\"user_data\";a:1:{s:7:\"user_id\";i:3;}s:6:\"\u0000*\u0000job\";N;s:10:\"connection\";N;s:5:\"queue\";N;s:15:\"chainConnection\";N;s:10:\"chainQueue\";N;s:5:\"delay\";N;s:7:\"chained\";a:0:{}}","commandName":"App\Jobs\SapProductSyncJob"},"displayName":"App\Jobs\SapProductSyncJob","timeoutAt":null,"pushedAt":"1584684956.0182","job":"Illuminate\Queue\CallQueuedHandler@call","maxTries":null,"delay":null,"attempts":2}, PDOException: could not find driver in /home/path/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire