vendredi 7 avril 2017

Datatables response 500 error internal server when return from multiple tables

i get this error when i use searchbox Datatables warning

i have join my tables with this query

$query = LoginQuarter::join('wholesalers','login_quarter.username','=','wholesalers.user_id') ->select('wholesalers.id as wholesaler_id','wholesalers.name as name', 'login_quarter.quarter','login_quarter.years', 'login_quarter.target', 'login_quarter.updated_at');

And this is the return function enter image description here

I will not get that error if i comment in line wholesaler_id (line 82) and name (line 83) but i need to display that.

This is my first post in this forum, i hope i will get more knowledge from your help. Thankyou.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire