Internal Server Error

CDbCommand failed to execute the SQL statement: 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 ') or idEquipeVisitante in () ) and idPartida <> 0 and idRodada is not null and i' at line 1

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

2021-03-02 07:59:32