sql errors
Posted: Wed Jan 10, 2024 2:05 pm
Hi
I am getting the 2 sql errors appearing in my debug results. I can not see any code that refers to SELECT * FROM WHERE = ?
Has anybody else seen these types of sql errors?
Thanks
Message 1.
[0] : ===PDO MESSAGE===
SQLSTATE[42000]: Syntax error or access violation: 1064 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 'WHERE = ''' at line 1
===SQL===========
SELECT * FROM WHERE = ?
===BACK TRACE====
/var/www/vhosts/../core/nuform.php - line 743 (nuRunQuery)
/var/www/vhosts/../core/nuform.php - line 782 (nuGetOtherLookupValues)
/var/www/vhosts/../core/nuapi.php - line 88 (nuGetAllLookupValues)
Message 2.
[0] : ===PDO MESSAGE===
SQLSTATE[42000]: Syntax error or access violation: 1064 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 '
,
FROM zzzzsys_setup
WHERE
`` = '624c3aa75215d5e'' at line 2
===SQL===========
SELECT
,
,
FROM zzzzsys_setup
WHERE
`` = ?
===BACK TRACE====
/var/www/vhosts/../core/nuform.php - line 817 (nuRunQuery)
/var/www/vhosts/../core/nuform.php - line 778 (nuGetLookupValues)
/var/www/vhosts/../core/nuapi.php - line 88 (nuGetAllLookupValues)
I am getting the 2 sql errors appearing in my debug results. I can not see any code that refers to SELECT * FROM WHERE = ?
Has anybody else seen these types of sql errors?
Thanks
Message 1.
[0] : ===PDO MESSAGE===
SQLSTATE[42000]: Syntax error or access violation: 1064 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 'WHERE = ''' at line 1
===SQL===========
SELECT * FROM WHERE = ?
===BACK TRACE====
/var/www/vhosts/../core/nuform.php - line 743 (nuRunQuery)
/var/www/vhosts/../core/nuform.php - line 782 (nuGetOtherLookupValues)
/var/www/vhosts/../core/nuapi.php - line 88 (nuGetAllLookupValues)
Message 2.
[0] : ===PDO MESSAGE===
SQLSTATE[42000]: Syntax error or access violation: 1064 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 '
,
FROM zzzzsys_setup
WHERE
`` = '624c3aa75215d5e'' at line 2
===SQL===========
SELECT
,
,
FROM zzzzsys_setup
WHERE
`` = ?
===BACK TRACE====
/var/www/vhosts/../core/nuform.php - line 817 (nuRunQuery)
/var/www/vhosts/../core/nuform.php - line 778 (nuGetLookupValues)
/var/www/vhosts/../core/nuapi.php - line 88 (nuGetAllLookupValues)