( ! ) Fatal error: Uncaught Error: Call to a member function getId() on null in /home/bitrix/www/bitrix/modules/main/lib/engine/currentuser.php on line 47 |
( ! ) Error: Call to a member function getId() on null in /home/bitrix/www/bitrix/modules/main/lib/engine/currentuser.php on line 47 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.2333 | 3442248 | Bitrix\Main\Diag\ExceptionHandler->handleException( $exception = class Bitrix\Main\DB\ConnectionException { protected $databaseMessage = '(2002) Connection refused'; protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private ${Exception}string = ''; protected $code = 400; protected $file = '/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php'; protected $line = 82; private ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...]]; private ${Exception}previous = NULL; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> Bitrix\\Main\\DB\\ConnectionException: Mysql connect error [localhost]: (2002) Connection refused in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line <i>82</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9b96e\' colspan=\'5\'>Call Stack</th></tr>\n<tr><th align=\'center\' bgcolor=\'#eeeeec\'>#</th><th align=\'left\' bgcolor=\'#eeeeec\'>Time</th><th align=\'left\' '... }, $logType = ??? ) | .../exceptionhandler.php:0 |
2 | 0.2333 | 3442248 | Bitrix\Main\Diag\ExceptionHandler->writeToLog( $exception = class Bitrix\Main\DB\ConnectionException { protected $databaseMessage = '(2002) Connection refused'; protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private ${Exception}string = ''; protected $code = 400; protected $file = '/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php'; protected $line = 82; private ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...]]; private ${Exception}previous = NULL; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> Bitrix\\Main\\DB\\ConnectionException: Mysql connect error [localhost]: (2002) Connection refused in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line <i>82</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9b96e\' colspan=\'5\'>Call Stack</th></tr>\n<tr><th align=\'center\' bgcolor=\'#eeeeec\'>#</th><th align=\'left\' bgcolor=\'#eeeeec\'>Time</th><th align=\'left\' '... }, $logType = 0 ) | .../exceptionhandler.php:264 |
3 | 0.2335 | 3448208 | Fm2\Handler\Error->write( $exception = class Bitrix\Main\DB\ConnectionException { protected $databaseMessage = '(2002) Connection refused'; protected $message = 'Mysql connect error [localhost]: (2002) Connection refused'; private ${Exception}string = ''; protected $code = 400; protected $file = '/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php'; protected $line = 82; private ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...]]; private ${Exception}previous = NULL; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> Bitrix\\Main\\DB\\ConnectionException: Mysql connect error [localhost]: (2002) Connection refused in /home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php on line <i>82</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9b96e\' colspan=\'5\'>Call Stack</th></tr>\n<tr><th align=\'center\' bgcolor=\'#eeeeec\'>#</th><th align=\'left\' bgcolor=\'#eeeeec\'>Time</th><th align=\'left\' '... }, $logType = 0 ) | .../exceptionhandler.php:366 |
4 | 0.2339 | 3518256 | Bitrix\Main\Engine\CurrentUser->getId( ) | .../Error.php:23 |