1

Тема: Синтаксические ошибки при переходе на PHP 7

При переходе на PHP 7 выскакивают синтаксические ошибки. Биллинг 0.7.2

На вкладке "Статистика":

MySQL error in file: /engine/modules/billing/controllers/adm.statistics.php at line 117
Error Number: 1064
The Error returned was:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') as `sum` FROM dle_users WHERE ' at line 1
SQL query:

SELECT count(name) as `count`, SUM() as `sum` FROM dle_users WHERE != 0

На вкладке "Пользователи":

MySQL error in file: /engine/modules/billing/helpers/library.querys.php at line 33
Error Number: 1064
The Error returned was:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '> 0 order by desc limit 10' at line 1
SQL query:

SELECT * FROM dle_users where > 0 order by desc limit 10