mardi 26 mai 2020

Can't get user status as int

ErrorException : Object of class App\People could not be converted to int

$check_status = People::select('payment_status')->find($request->people_id);
if ($check_status == 0) {
    return 'active';
}


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3gmfUB7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire