Closed fer-ri closed 8 years ago
Hey, if you're using an up to date laravel then the create method in Illuminate\Database\Query is now called "insert", just change the method name in your repository abstract class and in your repository interface to insert instead of create. then just call insert instead of create: $transactionRepository->insert([ 'reference' => 'SLUG', 'nominal' => 0, 'description' => 'BLANK', ]);
ah my bad this is an old issue that already solved .. sorry for bothering you :)
Hi
do you ever face problem that you cant insert/create any record when queue driver set as
beanstalkd
?i always got
Seems like
$this->model
got undefined and error above got triggered when execute this linemy code is pretty simple
But when queue driver back to
sync
then everything is ok ..Any idea?
Thanks