SELECT a.[connectstat] FROM [MuOnline].[dbo].[memb_stat] AS a JOIN [MuOnline].[dbo].[character] AS c ON c.[AccountId] = a.[memb___id] WHERE c.[Name] = :char
Array
(
[0] => HY000
[1] => 0
[2] => [Microsoft][ODBC Driver 13 for SQL Server]Unspecified error occurred on SQL Server. Connection may have been terminated by the server.
)
Fatal error: Uncaught Error: Wrong parameters for ArrayException([string $message [, long $code [, Throwable $previous = NULL]]]) in C:\web\utils\helpers\global_functions.php:82
Stack trace:
#0 C:\web\utils\helpers\global_functions.php(82): Exception->__construct('Array\n(\n [0]...', 'HY000', NULL)
#1 C:\web\database.php(166): ArrayException->__construct(Array, 'HY000')
#2 C:\web\database.php(193): Database->checkError(Object(PDOStatement))
#3 C:\web\database.php(235): Database->select('SELECT a.[conne...', Array, 'value')
#4 C:\web\utils\user.php(336): Database->selectValue('SELECT a.[conne...', Array)
#5 C:\web\utils\user.php(341): UserUtils->isCharOnline(NULL)
#6 C:\web\user.php(31): UserUtils->isOnline(NULL)
#7 C:\web\application.php(91): User->__construct(Array, Object(Container))
#8 C:\web\application.php(53): Application->prepareUser(Array, Object(Utils), Object(Container))
#9 C:\web\init.php(32): Application->__construct(Object(Container), Array)
#10 C:\web\index.php(3): require_once('C:\\web\\init.php')
#11 {m in C:\web\utils\helpers\global_functions.php on line 82