Помощь с ошибкой PHP
-
Здравствуйте!
Подскажите пожалуйста.
При переходе с php 5.6 на 7.0 все прошло нормально (переход был через cpanel) , но при переходе на 7.2 выскакивает ряд ошибок при входе.
Тестирую через локальную сеть.Fatal error: Uncaught Error: [] operator not supported for strings in Q:\Programs\XAMPP\htdocs\testic\wp-content\themes\ic\functions.php:268
Т.е 268 стройка файла,
268 строка $meta_query[] = array(
array(
‘key’ => ‘ic_project_settings_status’,
‘value’ => 2,
‘compare’ => ‘!=’,
),
);
В чем может быть проблема? Подскажите пожалуйста.eng :
Hello!
Please tell me.
In the transition from php 5.6 to 7.0 everything went fine (the transition was through cpanel), but the transition to 7.2 POPs up a number of errors at the entrance.
Testing over a local network.Fatal error: Uncaught Error: [] operator not supported for strings in Q:\Programs\XAMPP\htdocs\testic\wp-content\themes\ic\functions ahhh!php: 268
Ie 268 building the file,
268 string $meta_query[] = array(
array(
‘key’ => ‘ic_project_settings_status’,
‘value’ => 2,
‘compare’ => ‘!=’,
),
);
What could be the problem? Please tell me.
- Тема «Помощь с ошибкой PHP» закрыта для новых ответов.