Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 270336 bytes) in /home/bitrix/www/bitrix/modules/main/classes/general/main.php on line 3189

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 65536 bytes) in /home/bitrix/www/bitrix/modules/main/lib/loader.php on line 357

Fatal error: Uncaught Error: Cannot pass parameter 3 by reference in /home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:746 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(77): Bitrix\Main\ORM\Entity::normalizeEntityClass('Bitrix\\Security...') #1 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(581): Bitrix\Main\ORM\Data\DataManager::getEntity() #2 /home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php(1589): Bitrix\Main\ORM\Data\DataManager::normalizePrimary('zP6MALjdjTPd1zh...') #3 /home/bitrix/www/bitrix/modules/security/classes/general/session_db.php(100): Bitrix\Main\ORM\Data\DataManager::delete('zP6MALjdjTPd1zh...') #4 /home/bitrix/www/bitrix/modules/security/classes/general/session_handler.php(28): CSecuritySessionDB::write('RflcuDzLKS6PVJx...', 'SESS_AUTH|a:1:{...') #5 [internal function]: CSecuritySessionHandler->write('RflcuDzLKS6PVJx...', 'SESS_AUTH|a:1:{...') #6 {main} thrown in /home/bitrix/www/bitrix/modules/main/lib/orm/entity.php on line 746