AlexT
Well-known member
See screenshot. Try to enter exactly the text as shown in the screenshot.
It will cause this error in UserTagging:_getTagMatchUsers():
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare 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 'FROM xf_user AS user WHERE () ORDER BY LENGTH(user.username) DESC' at line 3 -library/Zend/Db/Statement/Mysqli.php:77
It seems that the regex in UserTagging:_getPossibleTagMatches() stumbles over this text with wrong matches, which then leads to the erroneous SQL query.
It will cause this error in UserTagging:_getTagMatchUsers():
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare 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 'FROM xf_user AS user WHERE () ORDER BY LENGTH(user.username) DESC' at line 3 -library/Zend/Db/Statement/Mysqli.php:77
It seems that the regex in UserTagging:_getPossibleTagMatches() stumbles over this text with wrong matches, which then leads to the erroneous SQL query.
Last edited: