( ! ) 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
#TimeMemoryFunctionLocation
10.03533269272Bitrix\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
20.03533269272Bitrix\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
30.03533269272Bitrix\Main\Diag\ExceptionHandler->getHandlerLog( ).../exceptionhandler.php:404
40.03533269272call_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
50.03533269504Bitrix\Main\Application->createExceptionHandlerLog( ).../exceptionhandler.php:208
60.03533269584Bitrix\Main\Diag\FileExceptionHandlerLog->initialize( $options = ['file' => ['enabled' => TRUE, 'file' => '/home/bitrix/php.log', 'log_size' => 1000000]] ).../application.php:509
70.03533269584str_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
#TimeMemoryFunctionLocation
10.03553287408Bitrix\Main\Diag\ExceptionHandler->handleFatalError( ).../exceptionhandler.php:0
20.03553288568Bitrix\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
30.03553288568Bitrix\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
40.03553288568Bitrix\Main\Diag\ExceptionHandler->getHandlerLog( ).../exceptionhandler.php:404
50.03553288568call_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
60.03553288800Bitrix\Main\Application->createExceptionHandlerLog( ).../exceptionhandler.php:208
70.03553288880Bitrix\Main\Diag\FileExceptionHandlerLog->initialize( $options = ['file' => ['enabled' => TRUE, 'file' => '/home/bitrix/php.log', 'log_size' => 1000000]] ).../application.php:509
80.03553288880str_starts_with( $haystack = ['enabled' => TRUE, 'file' => '/home/bitrix/php.log', 'log_size' => 1000000], $needle = '/' ).../fileexceptionhandlerlog.php:26