lundi 24 juillet 2017

Laravel Eloquent query not running on Production at AWS instance

I am using Lumen

$employee = Employee::where('emp_pin', $request->input('emp_pin'))->first();

    $tempEmpTiming = 
    EmployeeTimings::where('employee_id',$employee['id'])
        ->where('status',Constant::CHECKED_IN)
        ->get()
        ->toArray();

running this query, working fine on my local machine but it is not working on AWS instance. what could be the reason. The Only difference is at my local php5.6 is up and on AWS php7 is running. i have downgraded the php version doesn't work.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire