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":null,"genre_ids":[35,10749],"id":1381944,"original_language":"ru","original_title":"Клевый Уlove","overview":"Anya, Milana and Vika are friends from school. They are very different, but they are all similar in one thing - they cannot find their love. Vika runs several tire shops in a provincial town. Anya works remotely as a personal assistant to a Siberian businessman.","popularity":0.459,"poster_path":null,"release_date":"2025-04-24","title":"Клевый Уlove","video":false,"vote_average":0.0,"vote_count":0,"character":"","credit_id":"67271fea629055e1383b7a77","order":11,"media_type":"movie"},{"adult":false,"backdrop_path":null,"genre_ids":[18],"id":251224,"origin_country":["RU"],"original_language":"ru","original_name":"Хозяйка горы","overview":"A small mining village of Kamenny, the 90s. Everyone here knows the legend about the Mistress of the mountain — the green-eyed Princess Maria Tumanova, the former owner of the emerald mines, who received the nickname Basilisk. Tumanova hid her treasures in the village, and before her death cursed everyone who dared to take possession of them... For many years, the locals even pronounce the name of the princess with caution. And only 17-year-old beauty Alyonka Koshkina defiantly defies the witchcraft of the Basilisk. On the same day, the girl's father finds a jewelry box in the mine. This discovery brings nothing but misfortune to the inhabitants. Who can resist witchcraft and bring back happiness and love?","popularity":7.929,"poster_path":"/hQte7FBm9cnCMZzXt7fXArdQ96h.jpg","first_air_date":"2021-07-19","name":"Mistress of the Mountain","vote_average":0.0,"vote_count":0,"character":"учитель","credit_id":"66eaa8091beca8ce07d36023","episode_count":16,"media_type":"tv"}],"crew":[]}}

/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'] ?? [];