Typo3 & PHP 5.4 error after update
Косяки с движком Typo3, которые возникли после обновленияя PHP до версии 5.4.
Версия 4.5.14 выдавала ошибки на некоторых страницах. Что-то из серии – PHP Runtime Notice: Declaration of t3lib_userAuthGroup:…
После обновления до TYPO3 4.5.17 полезли только варнинги:
Strict Standards: Non-static method t3lib_TSparser::checkIncludeLines() should not be called statically, assuming $this from incompatible context in [home]/typo3_src-4.5.17/t3lib/class.t3lib_tstemplate.php on line 971
Лечить пока ручками в исхдниках – добавить определение static к функции.
Файл: typo3_src-4.5.17/t3lib/class.t3lib_tsparser.php
Строка: 561
Ищем: function checkIncludeLines($string, $cycle_counter = 1, $returnFiles = FALSE) {
Заменить: static function checkIncludeLines($string, $cycle_counter = 1, $returnFiles = FALSE) {
Если стоит акселератор – нужно рестартовать PHP-fpm или сам Apache.