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';
}


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire