Fatal error: Uncaught Error: Call to undefined function app\libs\curl_init() in \www\iceserver\keysss\app\libs\Steam.php:44 Stack trace: #0 \www\iceserver\keysss\app\libs\Steam.php(38): app\libs\Steam->CreateCache('765611983406713...') #1 \www\iceserver\keysss\app\libs\PlayerInfo.php(45): app\libs\Steam->CacheUsers(Array) #2 \www\iceserver\keysss\app\include\autoload.php(50): app\libs\PlayerInfo->topPlayersList() #3 \www\iceserver\keysss\index.php(2): require('...') #4 {main} thrown in \www\iceserver\keysss\app\libs\Steam.php on line 44
В чем проблема?
у меня включен curl
--- Добавлено позже ---
И вот если заменить steam.php
Fatal error: Uncaught ArgumentCountError: Too few arguments to function app\libs\Steam::CacheUsers(), 1 passed in \www\iceserver\keys\app\libs\PlayerInfo.php on line 45 and exactly 2 expected in \www\iceserver\keys\app\libs\Steam.php:32 Stack trace: #0 \www\iceserver\keys\app\libs\PlayerInfo.php(45): app\libs\Steam->CacheUsers(Array) #1 \www\iceserver\keys\app\include\autoload.php(44): app\libs\PlayerInfo->topPlayersList() #2 \www\iceserver\keys\index.php(2): require('...') #3 {main} thrown in \www\iceserver\keys\app\libs\Steam.php on line 32