dimanche 3 avril 2016

How to fix error cannot use object of type __PHP_Incomplete_Class as array

I have problem like this: My array(get from session) is something like below :

   $userInfor = array(4) { 
        ["__PHP_Incomplete_Class_Name"]=> string(17)    "App\ListAuthority" 
        ["C_FLG"]=> int(0) 
        ["U_FLG"]=> int(0) 
        ["D_FLG"]=> int(0) 
    }

I want to compare if($userInfor['C_FLG']) == 1 or 0. But it's return an error. What can I do?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire