Why dont you do
$discs = DB::table('interview_test_disc_answer') ->where('id_interview_schedules', $schedule_id) ->select('sort','ops_a', 'ops_b', 'ops_c', 'ops_d') ->orderby('sort', 'ASC') ->whereNull('deleted_at')->get()->toArray();
Also try by using '->unique();'
I believe the problem is that You are trying to acces an object calling ->value but thats not an object is an array.
Hope this helps.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us