Closed martianatwork closed 4 years ago
Hey @martianatwork,
Can you show me your code please? What version are you using?
@FrittenKeeZ
Package Version: 0.1.8
Laravel Version: 5.8.36
Tinker Version: 1.0
I'm using laravel tinker and running console command: Vouchers::create() or $user->createVouchers()
I have included HasVouchers trait into User Model.
@martianatwork can you paste in the stack trace from the error log?
@FrittenKeeZ Thats the problem right now, I dont get any stack trace, nothing in logs either.
I'm not in my office right now, I will do some digging tomorrow and get back to you
@martianatwork otherwise see if you can get more verbose errors in Tinker with this: https://softonsofa.com/tinker-like-a-boss-in-psysh/
Closing this as there hasn't been any additional information in a long time. Feel free to open a new issue if the problem occurs again.
TypeError: Argument 1 passed to Illuminate/Validation/Factory::make() must be of the type array, null given, called in /vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 239
Getting this error on createVouchers or Vouchers::create()