Closed asoltec closed 11 months ago
Hello. This is an error in your code. Attach the code where you have a problem, I will try to help you.
use Bavix\Wallet\Traits\HasWallet; use Bavix\Wallet\Interfaces\Wallet;
class User extends Authenticatable implements HasMedia, Wallet { use HasWallet; } $user = User::find(1)->deposit( 100 ); dd($user->balance);
this is my code it's very simple and it was working before 2 month ago , this error happened when i update my packages
this error gone if i use version 8
i solved it sorry for that the problem was in Listener
when try to deposit i found this issue
Transaction failed. Message: in_array(): Argument #2 ($haystack) must be of type array, null given