App\Core\Tmdb\TmdbClient->send():108 PHP 8.2.25

Tmdb Client Error: {"success":false,"status_code":11,"status_message":"Internal error: Something went wrong, contact TMDb.","combined_credits":{"cast":[{"adult":false,"backdrop_path":"/lNMRbmdgoIa8ti1jpedzIGfVZzg.jpg","genre_ids":[80,18,10770],"id":467797,"original_language":"en","original_title":"In the Glitter Palace","overview":"The ex-girlfriend of a lawyer, who left him for a lesbian lover, asks him to defend her lover in a murder case.","popularity":1.413,"poster_path":"/xoTn2grNKuT4yV1YY5FFqdgcBWc.jpg","release_date":"1977-02-23","title":"In the Glitter Palace","video":false,"vote_average":3.5,"vote_count":2,"character":"Merrill","credit_id":"597611c192514157f7032420","order":10,"media_type":"movie"}],"crew":[{"adult":false,"backdrop_path":"/rE4rTes23q1DBruO5bmC6R5PnTd.jpg","genre_ids":[],"id":236425,"original_language":"en","original_title":"Communion","overview":"Father Clemence, a man burned by his faith, has taken in search of retribution. Along the way, he is joined by Maria, a hitch hiking punk, who is fleeing her home in Mexico City. Together, the odd couple embark on a roller coaster of adventure that is at times both harrowing and heart warming.","popularity":0.277,"poster_path":"/eF5RytUOFcmfaRy8b0LCJz0dXFT.jpg","release_date":"2013-07-31","title":"Communion","video":false,"vote_average":0.0,"vote_count":0,"credit_id":"52fe4e5ac3a36847f828bb09","department":"Writing","job":"Writer","media_type":"movie"}]}}

/home/movtv/public_html/app/Core/Tmdb/TmdbClient.php:108

                                    
96
        'Content-Type' => 'application/json;charset=utf-8',
97
        'Authorization' => sprintf('Bearer %s'Configurator::$instance->get('tmdb'))
98
    ];
99
100
    // Append language preference to headers to avoid adult content
101
    $headers['Accept-Language'] = 'en-US'// Example: Set language preference to English
102
103
    // Make the GET request with headers
104
    $resp EasyCurl::setHeaders($headers)->get(...$args);
105
106
    // Check if response status is not 200 OK
107
    if ($resp->getStatus() != 200) {
108
        throw new TmdbClientException('Tmdb Client Error: ' $resp->getBody(), $resp->getStatus());
109
    }
110
111
    // Check for adult content in response (assuming TMDB API supports such filtering)
112
    $jsonResponse json_decode($resp->getBody(), true);
113
    
114
115
    return $resp;
116
}
117
118
119
    public function getGenre(): array
120
    {
121
        return $this->request('genre/' $this->getType() . '/list')['genres'] ?? [];