Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

После переноса на хостинг, диаг.сообщение об устаревшем Twig-синтаксисе


Recommended Posts

После переноса сайта с локального сервера на хостинг
в верхней части страницы стало появляться предупреждающее сообщение об устаревшем Twig-синтаксисе:

 

Unknown: Using the "Twig_Loader_Array" class is deprecated since Twig version 2.7, use "Twig\Loader\ArrayLoader" instead. in /virt/homes/vegametal/storage/vendor/twig/twig/lib/Twig/Loader/Array.php on line 7Unknown: Using the "Twig_Loader_Filesystem" class is deprecated since Twig version 2.7, use "Twig\Loader\FilesystemLoader" instead. in /virt/homes/vegametal/storage/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 7Unknown: Using the "Twig_Loader_Chain" class is deprecated since Twig version 2.7, use "Twig\Loader\ChainLoader" instead. in /virt/homes/vegametal/storage/vendor/twig/twig/lib/Twig/Loader/Chain.php on line 7

 

Сайт работает, но эта диагностика дизайн портит.
Как от этого можно избавиться?

Link to comment
Share on other sites


В 22.04.2023 в 07:52, PaulKravchenko сказав:

Не використовуйте PHP 8.*, ставте 7.*

Спробую, та начебто на цьому хостингу (ho.ua) нема можливості вибирати версію PHP

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.