( ! ) Fatal error: Uncaught TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, array given in /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php on line 26 | ||||
---|---|---|---|---|
( ! ) TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, array given in /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php on line 26 | ||||
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0353 | 3269272 | Bitrix\Main\Diag\ExceptionHandler->handleException( $exception = class ErrorException { protected $message = 'Undefined array key "SESS_SESSION_ID"'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/ext_www/apteka72.com/bitrix/modules/statistic/classes/general/keepstatistic.php'; protected int $line = 1064; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = ??? ) | .../exceptionhandler.php:0 |
2 | 0.0353 | 3269272 | Bitrix\Main\Diag\ExceptionHandler->writeToLog( $exception = class ErrorException { protected $message = 'Undefined array key "SESS_SESSION_ID"'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/ext_www/apteka72.com/bitrix/modules/statistic/classes/general/keepstatistic.php'; protected int $line = 1064; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 2 }, $logType = 0 ) | .../exceptionhandler.php:272 |
3 | 0.0353 | 3269272 | Bitrix\Main\Diag\ExceptionHandler->getHandlerLog( ) | .../exceptionhandler.php:404 |
4 | 0.0353 | 3269272 | call_user_func_array:{/home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/exceptionhandler.php:208}( $callback = [0 => class Bitrix\Main\HttpApplication { protected bool $initialized = TRUE; protected bool $terminating = FALSE; protected $context = class Bitrix\Main\HttpContext { ... }; protected $router = NULL; protected $currentRoute = NULL; protected $connectionPool = class Bitrix\Main\Data\ConnectionPool { ... }; protected $managedCache = class Bitrix\Main\Data\ManagedCache { ... }; protected $taggedCache = class Bitrix\Main\Data\TaggedCache { ... }; protected $session = class Bitrix\Main\Session\Session { ... }; protected $kernelSession = class Bitrix\Main\Session\KernelSessionProxy { ... }; protected $compositeSessionManager = class Bitrix\Main\Session\CompositeSessionManager { ... }; protected $sessionLocalStorageManager = class Bitrix\Main\Data\LocalStorage\SessionLocalStorageManager { ... }; protected $backgroundJobs = class SplPriorityQueue { ... }; protected $license = class Bitrix\Main\License { ... } }, 1 => 'createExceptionHandlerLog'], $args = [] ) | .../exceptionhandler.php:208 |
5 | 0.0353 | 3269504 | Bitrix\Main\Application->createExceptionHandlerLog( ) | .../exceptionhandler.php:208 |
6 | 0.0353 | 3269584 | Bitrix\Main\Diag\FileExceptionHandlerLog->initialize( $options = ['file' => ['enabled' => TRUE, 'file' => '/home/bitrix/php.log', 'log_size' => 1000000]] ) | .../application.php:509 |
7 | 0.0353 | 3269584 | str_starts_with( $haystack = ['enabled' => TRUE, 'file' => '/home/bitrix/php.log', 'log_size' => 1000000], $needle = '/' ) | .../fileexceptionhandlerlog.php:26 |
( ! ) Fatal error: Uncaught TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, array given in /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php on line 26 | ||||
---|---|---|---|---|
( ! ) TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, array given in /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php on line 26 | ||||
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0355 | 3287408 | Bitrix\Main\Diag\ExceptionHandler->handleFatalError( ) | .../exceptionhandler.php:0 |
2 | 0.0355 | 3288568 | Bitrix\Main\Diag\ExceptionHandler->handleException( $exception = class ErrorException { protected $message = 'Uncaught TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, array given in /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php:26\nStack trace:\n#0 /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php(26): str_starts_with()\n#1 /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/application.php(509): Bitrix\\Main\\Diag\\FileExceptionHandlerLog->initialize()\n#2 [internal function]: Bitrix\\Main\\Application-'...; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php'; protected int $line = 26; private array ${Exception}trace = [0 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 1 }, $logType = 5 ) | .../exceptionhandler.php:387 |
3 | 0.0355 | 3288568 | Bitrix\Main\Diag\ExceptionHandler->writeToLog( $exception = class ErrorException { protected $message = 'Uncaught TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, array given in /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php:26\nStack trace:\n#0 /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php(26): str_starts_with()\n#1 /home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/application.php(509): Bitrix\\Main\\Diag\\FileExceptionHandlerLog->initialize()\n#2 [internal function]: Bitrix\\Main\\Application-'...; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/fileexceptionhandlerlog.php'; protected int $line = 26; private array ${Exception}trace = [0 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 1 }, $logType = 5 ) | .../exceptionhandler.php:272 |
4 | 0.0355 | 3288568 | Bitrix\Main\Diag\ExceptionHandler->getHandlerLog( ) | .../exceptionhandler.php:404 |
5 | 0.0355 | 3288568 | call_user_func_array:{/home/bitrix/ext_www/apteka72.com/bitrix/modules/main/lib/diag/exceptionhandler.php:208}( $callback = [0 => class Bitrix\Main\HttpApplication { protected bool $initialized = TRUE; protected bool $terminating = FALSE; protected $context = class Bitrix\Main\HttpContext { ... }; protected $router = NULL; protected $currentRoute = NULL; protected $connectionPool = class Bitrix\Main\Data\ConnectionPool { ... }; protected $managedCache = class Bitrix\Main\Data\ManagedCache { ... }; protected $taggedCache = class Bitrix\Main\Data\TaggedCache { ... }; protected $session = class Bitrix\Main\Session\Session { ... }; protected $kernelSession = class Bitrix\Main\Session\KernelSessionProxy { ... }; protected $compositeSessionManager = class Bitrix\Main\Session\CompositeSessionManager { ... }; protected $sessionLocalStorageManager = class Bitrix\Main\Data\LocalStorage\SessionLocalStorageManager { ... }; protected $backgroundJobs = class SplPriorityQueue { ... }; protected $license = class Bitrix\Main\License { ... } }, 1 => 'createExceptionHandlerLog'], $args = [] ) | .../exceptionhandler.php:208 |
6 | 0.0355 | 3288800 | Bitrix\Main\Application->createExceptionHandlerLog( ) | .../exceptionhandler.php:208 |
7 | 0.0355 | 3288880 | Bitrix\Main\Diag\FileExceptionHandlerLog->initialize( $options = ['file' => ['enabled' => TRUE, 'file' => '/home/bitrix/php.log', 'log_size' => 1000000]] ) | .../application.php:509 |
8 | 0.0355 | 3288880 | str_starts_with( $haystack = ['enabled' => TRUE, 'file' => '/home/bitrix/php.log', 'log_size' => 1000000], $needle = '/' ) | .../fileexceptionhandlerlog.php:26 |