Добрый день, форумчане
Есть ли у кого опыт поднятия Котонти с PHP 5.6 до 7.х?
У меня выдает ошибку в темплейтах
Fatal error: Uncaught Error: Using $this when not in object context in C:\OSPanel\domains\cot\system\cotemplate.php on line 404
Error: Using $this when not in object context in C:\OSPanel\domains\cot\system\cotemplate.php on line 404
Call Stack |
---|
# |
Time |
Memory |
Function |
Location |
---|
1 |
0.0049 |
402656 |
{main}( ) |
...\install.php:0 |
2 |
0.0380 |
2348776 |
include( 'C:\OSPanel\domains\cot\modules\install\inc\install.install.php' ) |
...\install.php:141 |
3 |
0.0388 |
2349536 |
XTemplate->__construct( ) |
...\install.install.php:25 |
4 |
0.0388 |
2349560 |
XTemplate->restart( ) |
...\cotemplate.php:88 |
5 |
0.0394 |
2357968 |
XTemplate->compile( ) |
...\cotemplate.php:336 |
6 |
0.0394 |
2357968 |
preg_replace_callback ( ) |
...\cotemplate.php:384 |
7 |
0.0395 |
2358480 |
XTemplate::restart_include_files( ) |
...\cotemplate.php:384 |
8 |
0.0395 |
2358480 |
preg_replace_callback ( ) |
...\cotemplate.php:285 |
9 |
0.0395 |
2358856 |
XTemplate::substitute_var( ) |
...\cotemplate.php:285 |