[2024-03-11T03:50:06.627273+03:00] EngineGP.ERROR: xPaw\SourceQuery\Exception\InvalidPacketException: Failed to read any data from socket in file /var/www/enginegp/vendor/xpaw/php-source-query-class/SourceQuery/BaseSocket.php on line 50
Task:
https://bugs.enginegp.com/view.php?id=19
Whoops\Exception\ErrorException thrown with message "Undefined index: tv"
Stacktrace:
# 5 Whoops\Exception\ErrorException in /var/www/enginegp/system/library/games/csgo/action.php:76
# 4 Whoops\Run:handleError in /var/www/enginegp/system/library/games/csgo/action.php:76
# 3 action:start in /var/www/enginegp/system/sections/servers/action.php:31
# 2 include in /var/www/enginegp/system/engine/servers.php:82
# 1 include in /var/www/enginegp/system/distributor.php:89
# 0 include in /var/www/enginegp/index.php:62
Task:
https://bugs.enginegp.com/view.php?id=11
Whoops\Exception\ErrorException thrown with message "Undefined index: tv"
Stacktrace:
# 5 Whoops\Exception\ErrorException in /var/www/enginegp/system/library/games/css/action.php:74
# 4 Whoops\Run:handleError in /var/www/enginegp/system/library/games/css/action.php:74
# 3 action:start in /var/www/enginegp/system/sections/servers/action.php:31
# 2 include in /var/www/enginegp/system/engine/servers.php:82
# 1 include in /var/www/enginegp/system/distributor.php:89
# 0 include in /var/www/enginegp/index.php:62
Task:
https://bugs.enginegp.com/view.php?id=1
Whoops\Exception\ErrorException thrown with message "Undefined index: tv"
Stacktrace:
# 5 Whoops\Exception\ErrorException in /var/www/enginegp/system/library/games/cssold/action.php:74
# 4 Whoops\Run:handleError in /var/www/enginegp/system/library/games/cssold/action.php:74
# 3 action:start in /var/www/enginegp/system/sections/servers/action.php:31
# 2 include in /var/www/enginegp/system/engine/servers.php:82
# 1 include in /var/www/enginegp/system/distributor.php:89
# 0 include in /var/www/enginegp/index.php:62
Task:
https://bugs.enginegp.com/view.php?id=2
[2024-03-10T23:00:05.436595+03:00] EngineGP.ERROR: Whoops\Exception\ErrorException: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in file /var/www/enginegp/system/library/cron/scan_servers.php on line 101
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/enginegp/system/library/cron/scan_servers.php:101
2. Whoops\Run->handleError() /var/www/enginegp/system/library/cron.php:85
3. include() /var/www/enginegp/system/library/cron.php:85
4. include() /var/www/enginegp/cron.php:48
[] []
Task:
https://bugs.enginegp.com/view.php?id=5
Whoops\Exception\ErrorException thrown with message "Trying to access array offset on value of type null"
Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/enginegp/system/acp/sections/tarifs/index.php:42
#3 Whoops\Run:handleError in /var/www/enginegp/system/acp/sections/tarifs/index.php:42
#2 include in /var/www/enginegp/system/acp/engine/tarifs.php:32
#1 include in /var/www/enginegp/system/acp/distributor.php:64
#0 include in /var/www/enginegp/acp/index.php:47
This change replaces the use of $_SERVER['SERVER_NAME'] with $_SERVER['HTTP_HOST'] throughout the codebase. The modification ensures consistency and compliance with best practices, since $_SERVER['HTTP_HOST'] is often used to extract the host header from an HTTP request. This update may improve compatibility and security, especially in scenarios where the Host header plays a key role in proper server configuration and routing. Please review and test the changes carefully to ensure smooth functionality in different environments.