PHP 8.1.2-1ubuntu2.209.52.19
foreach() argument must be of type array|object, null given
<span class="title-pdf">Chet tilllar</span>
<hr />
<ul>
@foreach ($student->student_languages ?: [] as $lang)
<li>
{{ $lang->language?->name }}
</li>
@endforeach
</ul>
</div>
@endif
<div class="laguage-content-pdf">
<span class="title-pdf">Sevimli mashg'ulotlar</span>
<hr />
<ul>
@foreach (json_decode($student->favorites ?: '[]') as $favorite)
<li>
{{ $favorite }}
</li>
@endforeach
</ul>
</div>
</div>
</div>
<img class="logo-pdf" src="{{ convertBase64(asset('resume/profi-logo-light.png')) }}"
alt="" />
</div>
</td>
<td class="td-2-pdf">
<div class="box-2-pdf">
App
Request
https://api-student.eduni.uz/career/students/resume/3068/view
GET
curl "https://api-student.eduni.uz/career/students/resume/3068/view" \
-X GET \
-H 'user-agent: GuzzleHttp/7' \
-H 'host: api-student.eduni.uz' \
-H 'connection: close' \
-H 'x-forwarded-port: 443' \
-H 'x-forwarded-proto: https';
Context
Custom
7:39:08 PM
30.24ms
pgsql
select * from "students" where (exists (select * from "references" where "students"."student_status_id" = "references"."id" and "code" = 11 and "table_name" = student-statuses)) and "students"."id" = 3068 limit 1
7:39:08 PM
1ms
pgsql
select * from "student_experiences" where "student_experiences"."student_id" in (3068)
7:39:08 PM
0.84ms
pgsql
select * from "student_achievements" where "type" = language and "student_achievements"."student_id" in (3068)
7:39:08 PM
0.72ms
pgsql
select * from "student_studies" where "student_studies"."student_id" in (3068)
7:39:08 PM
0.48ms
pgsql
select * from "student_achievements" where "type" = new-achievements and "student_achievements"."student_id" in (3068)
7:39:09 PM
1.38ms
pgsql
select * from "regions" where "regions"."id" = 7 and "regions"."id" is not null limit 1
7:39:09 PM
1.19ms
pgsql
select * from "translates" where "translates"."field_id" = 7 and "translates"."field_id" is not null and "table_name" = regions and "language_url" = uz
7:39:09 PM
0.8ms
pgsql
select * from "districts" where "districts"."id" = 94 and "districts"."id" is not null limit 1
7:39:09 PM
0.56ms
pgsql
select * from "translates" where "translates"."field_id" = 94 and "translates"."field_id" is not null and "table_name" = districts and "language_url" = uz