Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Errors after moving to PHP 7

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: Russian
View previous topic :: View next topic  
Author Message
smarty2018
Smarty n00b


Joined: 10 Nov 2018
Posts: 3

PostPosted: Sun Nov 01, 2020 3:16 am    Post subject: Errors after moving to PHP 7 Reply with quote

После переезда на PHP7 Посыпался проект (выдает ошибку)

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /Smarty/libs/Smarty.class.php on line 64

код из файла

64 class Smarty
65 {
66 /**#@+
67 * Smarty Configuration Section

Как поправить?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1659

PostPosted: Wed Nov 04, 2020 9:49 pm    Post subject: Reply with quote

Удивительно, но - обновить Smarty.
Это исправлено пять лет назад.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP