Fatal error: Uncaught Error: Call to undefined function Bitrix\Main\str_ends_with() in /home/m/medafarm/diamedcom.ru/public_html/bitrix/modules/main/lib/loader.php:388 Stack trace: #0 [internal function]: Bitrix\Main\Loader::autoLoad('Bitrix\\Main\\ORM...') #1 /home/m/medafarm/diamedcom.ru/public_html/bitrix/modules/main/lib/loader.php(330): spl_autoload_call('Bitrix\\Main\\ORM...') #2 /home/m/medafarm/diamedcom.ru/public_html/bitrix/modules/main/include/autoload.php(359): Bitrix\Main\Loader::registerHandler(Array) #3 /home/m/medafarm/diamedcom.ru/public_html/bitrix/modules/main/include/urlrewrite.php(9): require_once('/home/m/medafar...') #4 /home/m/medafarm/diamedcom.ru/public_html/bitrix/urlrewrite.php(2): include_once('/home/m/medafar...') #5 {main} thrown in /home/m/medafarm/diamedcom.ru/public_html/bitrix/modules/main/lib/loader.php on line 388