I had my site suspended because of this error
I'm using 7.5beta
had no issues until today.
SELECT count(ID) as count_id FROM Profiles WHERE DateLastNav > SUBDATE(NOW(), INTERVAL 1 MINUTE) AND ID=$?
Mysql error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near '?' at line 1
Found error in the file '/home/slipssco/public_html/xxxxxx.com/inc/admin.inc.php' at line 840.
Called 'db_value' function with erroneous argument #0.
Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/slipssco/public_html/sssss.com/inc/classes/BxDolDb.php
[line] => 236
[function] => error
[class] => BxDolDb
[type] => ->
[object] => BxDolDb Object
(
[error_cheking] => 1
[host] => localhost
[port] =>
[socket] =>
[dbname] => xxxxxx
[user] => xxxxxxx
[password] => axxxxx
[link] => Resource id #33
[current_res] =>
[current_arr_type] => 1
[oParams] => BxDolParams Object