Hi,
That's hard to say.
The error message only points to the file of Joomla processing the MySQL query, not to the location where the MySQL query is.
There are 2 things you can do:
- You could turn off the "error reporting" setting of the joomla configuration, in order to hide the messages. This should be done on live websites anyway for security reasons.
- You could modify the code in /libraries/vendor/joomla/database/src/Mysql/MysqlDriver.php to output more information using the debug_print_backtrace PHP function:
www.php.net/manual/en/function.debug-print-backtrace.php
That way, we can get more information on where the problematic MySQL query is located and we'll be able to tell you what to do to fix the problem.