'Too few arguments to function App\\Jobs for Laravel job
everyone. Could you help me for creating of Laravel Job?
So, I am trying to parse parameters to job from controller. But I am getting ERROR.
"message": "Too few arguments to function App\Jobs\PPodcast::__construct(), 0 passed in C:\xampp\htdocs\order-management\vendor\laravel\framework\src\Illuminate\Foundation\Bus\Dispatchable.php on line 17 and exactly 4 expected", "exception": "ArgumentCountError", "file": "C:\xampp\htdocs\aaa\app\Jobs\PPodcast.php",

public function __construct($product_url, $PROXIES, $start_index, $offset)
{
$this->PROXIES = $PROXIES;
$this->product_url = $product_url;
$this->start_index = $start_index;
$this->offset = $offset;
}

PriceCheckerPodcast::dispatch($product_url, $PROXIES, 0, 20);
I can not sure why I am getting this error.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
