[Error] Call to a member function DateFormatToPHP() on null (0) /home/bitrix/www/local/templates/main_2021/footer.php:200 #0: include_once /home/bitrix/www/bitrix/modules/main/include/epilog_before.php:93 #1: require(string) /home/bitrix/www/bitrix/modules/main/include/epilog.php:2 #2: require_once(string) /home/bitrix/www/bitrix/footer.php:4 #3: require(string) /home/bitrix/www/404.php:22 #4: require(string) /home/bitrix/www/bitrix/modules/iblock/lib/component/tools.php:81 #5: Bitrix\Iblock\Component\Tools::process404 /home/bitrix/www/bitrix/components/bitrix/news/component.php:253 #6: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:615 #7: CBitrixComponent->__includeComponent /home/bitrix/www/bitrix/modules/main/classes/general/component.php:692 #8: CBitrixComponent->includeComponent /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1195 #9: CAllMain->IncludeComponent /home/bitrix/www/local/include/php/news/NewsComponent.php:25 #10: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:184 #11: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2 ----------