beyondcode / invoker-community

74 stars 2 forks source link

Job dispatch failed. #254

Closed LZong-tw closed 2 years ago

LZong-tw commented 2 years ago

OS: win32 Invoker Version: 2.8.0 Laravel Version: 8.69.0 Local project: true PHP Binary: C:\xampp\php\php.exe Route: /events/details?class=App%5CJobs%5CSendApplicantMail&project=local-ijAGz1pXE239dduQrLrAoS

Error:

Symfony\Component\ErrorHandler\Error\FatalError 

  Class Illuminate\Queue\Jobs\SyncJob contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Contracts\Queue\Job::retryUntil)

  at C:\xampp\htdocs\bwcamp\vendor\laravel\framework\src\Illuminate\Queue\Jobs\SyncJob.php:8
      4▕ 
      5▕ use Illuminate\Container\Container;
      6▕ use Illuminate\Contracts\Queue\Job as JobContract;
      7▕ 
  ➜   8▕ class SyncJob extends Job implements JobContract
      9▕ {
     10▕     /**
     11▕      * The class name of the job.
     12▕      *

  1   C:\xampp\htdocs\bwcamp\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php:191
      Symfony\Component\ErrorHandler\Error\FatalError::__construct("'Class Illuminate\\Queue\\Jobs\\SyncJob contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\\Contracts\\Queue\\Job::retryUntil)'", "0", "['type' => 1, 'message' => 'Class Illuminate\\Queue\\Jobs\\SyncJob contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\\Contracts\\Queue\\Job::retryUntil)', 'file' => 'C:\\xampp\\htdocs\\bwcamp\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\SyncJob.php', 'line' => 8]", "0", "???", "???")

  2   C:\xampp\htdocs\bwcamp\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php:178
      Illuminate\Foundation\Bootstrap\HandleExceptions::fatalErrorFromPhpError("['type' => 1, 'message' => 'Class Illuminate\\Queue\\Jobs\\SyncJob contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\\Contracts\\Queue\\Job::retryUntil)', 'file' => 'C:\\xampp\\htdocs\\bwcamp\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\SyncJob.php', 'line' => 8]", "0")

   Whoops\Exception\ErrorException 

  Class Illuminate\Queue\Jobs\SyncJob contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Contracts\Queue\Job::retryUntil)

  at C:\xampp\htdocs\bwcamp\vendor\laravel\framework\src\Illuminate\Queue\Jobs\SyncJob.php:8
      4▕ 
      5▕ use Illuminate\Container\Container;
      6▕ use Illuminate\Contracts\Queue\Job as JobContract;
      7▕ 
  ➜   8▕ class SyncJob extends Job implements JobContract
      9▕ {
     10▕     /**
     11▕      * The class name of the job.
     12▕      *

  1   C:\xampp\htdocs\bwcamp\vendor\filp\whoops\src\Whoops\Run.php:486
      Whoops\Run::handleError("Class Illuminate\Queue\Jobs\SyncJob contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Contracts\Queue\Job::retryUntil)", "C:\xampp\htdocs\bwcamp\vendor\laravel\framework\src\Illuminate\Queue\Jobs\SyncJob.php")

  2   [internal]:0
      Whoops\Run::handleShutdown()
LZong-tw commented 2 years ago

I forgot to set QUEUE_CONNECTION to database.