Symfony\Component\ErrorHandler\Error\FatalError
FatalError
Allowed memory size of 268435456 bytes exhausted (tried to allocate 268435464 bytes)
GET www.api.breedj.com
PHP 8.3.16 — Laravel 11.41.3
app/Http/Controllers/TalentController.php
:892
break;
}
}
while (count($skillsData) !== 3) {
$skillsData[] = '';
}
$talentsData[] = [
'avatar' => $talent->avatar?->filename,
'pseudonym' => strtoupper($talent->pseudonym),
'identifier' => strtoupper($talent->identifier),
'job_title' => ucfirst($talent->currentJobTitle?->name),
'country' => trans('public.country') . ' : ' . ucfirst($talent->country?->name),
'slug_url' => Str::slug($talent->currentJobTitle?->name) . '/' . Str::slug($talent->country?->name) . '/' . $talent->identifier ,
'availability' => trans('public.availability') . ' : ' . ucfirst($talent->availability?->name),
'experience' => $talent->professional_experience_years > 0 ? trans('public.experience') . ' : ' . $talent->professional_experience_years . ' ' . trans('public.years') : '' ,
Request
GET
/api/public_talents
Headers
host
www.api.breedj.com
accept
*/*
Body
{
"lang": "en",
"page": "1"
}
Application
Routing
controller
App\Http\Controllers\TalentController@publicDataTalents
route name
talents.publicDataTalents
middleware
api
Database Queries
pgsql
(19.21 ms)
select * from "blocked_ips" where "ip_address" = '167.99.246.190' limit 1
pgsql
(37.71 ms)
select count(*) as aggregate from "talents" where "active" = '1'
pgsql
(9.93 ms)
select * from "talents" where "active" = '1' order by "id" desc limit 10 offset 0
pgsql
(4.55 ms)
select "ref_educations".*, "talent_education"."talent_id" as "pivot_talent_id", "talent_education"."education_id" as "pivot_education_id", "talent_education"."id" as "pivot_id", "talent_education"."university_id" as "pivot_university_id", "talent_education"."city_id" as "pivot_city_id", "talent_education"."status_id" as "pivot_status_id", "talent_education"."country_code" as "pivot_country_code", "talent_education"."started_on" as "pivot_started_on", "talent_education"."ended_on" as "pivot_ended_on", "talent_education"."diploma_id" as "pivot_diploma_id", "talent_education"."description" as "pivot_description" from "ref_educations" inner join "talent_education" on "ref_educations"."id" = "talent_education"."education_id" where "talent_education"."talent_id" = 28476 order by "talent_education"."started_on" desc
pgsql
(3.41 ms)
select "ref_contract_modes".*, "talent_contract_type"."talent_id" as "pivot_talent_id", "talent_contract_type"."contract_type_id" as "pivot_contract_type_id" from "ref_contract_modes" inner join "talent_contract_type" on "ref_contract_modes"."id" = "talent_contract_type"."contract_type_id" where "talent_contract_type"."talent_id" = 28476
pgsql
(17.09 ms)
select * from "talent_salary" where "talent_salary"."talent_id" = 28476 and "talent_salary"."talent_id" is not null
pgsql
(8.2 ms)
select "ref_skills".*, "talent_skill"."talent_id" as "pivot_talent_id", "talent_skill"."skill_id" as "pivot_skill_id", "talent_skill"."id" as "pivot_id", "talent_skill"."level" as "pivot_level" from "ref_skills" inner join "talent_skill" on "ref_skills"."id" = "talent_skill"."skill_id" where "talent_skill"."talent_id" = 28476 order by "talent_skill"."id" asc