2020-03-07, 07:31 PM
(This post was last modified: 2020-03-07, 07:36 PM by nanana777. Edited 1 time in total.)
Dear,
Please help and how can I fix this
1052 - Column 'uid' in where clause is ambiguous
Query:
SELECT COUNT(p.pid) AS count FROM mybb_posts p LEFT JOIN mybb_threads t ON (t.tid = p.tid) WHERE (p.ipaddress=X'6ca2f634') AND uid NOT IN (1) AND p.visible >= -1
----------------------------------------------------------------------------------------------------------------
Please help and how can I fix this
Actions:
- When I use modcp.php?action=ipsearch
- Select Search Posts
- Enter
----------------------------------------------------------------------------------------------------------------
MyBB has experienced an internal SQL error and cannot continue.
SQL Error: 1052 - Column 'uid' in where clause is ambiguous
Query:
SELECT COUNT(p.pid) AS count FROM mybb_posts p LEFT JOIN mybb_threads t ON (t.tid = p.tid) WHERE (p.ipaddress=X'6ca2f634') AND uid NOT IN (1) AND p.visible >= -1
----------------------------------------------------------------------------------------------------------------
Quote:My Setting
MyBB Version: 1.8.22
PHP Version: 7.0.33
SQL Engine: MySQLi 10.2.24