Bitrix - PHP Parse error - syntax error, unexpected 'static' (T STATIC)
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Версия от 14:14, 19 января 2024; Admin iph (обсуждение | вклад) (Новая страница: «=== Bitrix - PHP Parse error - syntax error, unexpected 'static' (T STATIC) === Ошибка вида: [19-Jan-2024 14:09:42 UTC] PHP Parse error: syntax erro...»)
Bitrix - PHP Parse error - syntax error, unexpected 'static' (T STATIC)
Ошибка вида:
[19-Jan-2024 14:09:42 UTC] PHP Parse error: syntax error, unexpected 'static' (T_STATIC) in /home/user1/site.ru/bitrix/modules/main/lib/error.php on line 44
Решение - переключить для сайта php 7.4.x на php 8.1.x