Чтобы добавить товар в избранное, вам необходимо авторизоваться.
[ErrorException] E_ERROR Allowed memory size of 536870912 bytes exhausted (tried to allocate 1515520 bytes) (0) /home/bitrix/www/bitrix/modules/main/classes/mysql/database_mysqli.php:49