Corrections of errors

Employer
[no-member:pro]Sergey[/no-member:pro]Sergey
Project parameters
Type of cooperationOne-time project
SectionWeb development
Prepaymentprepayment is possible
Payment methodsBank transfer, Electronic money
Acceptance of requestsclosed
Project description
Implemented the project of the restaurant website with a basket of order for Dle 10.6, uploaded to hosting
Timeweb site works normally, but after the order is completed, it issues an error
Error Number: 1064 The Error returned was:
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'' at line 1 SQL query:
SELECT id, title, category, alt_name, xfields FROM dle_post WHERE approve AND id IN ()
On another hosting with the client version of the database: libmysql - 5.1.71 everything works,
The same is true for the new version of mysqlnd 5.0.8.
Tell me if it can be fixed and how much it will cost.
Timeweb site works normally, but after the order is completed, it issues an error
Error Number: 1064 The Error returned was:
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'' at line 1 SQL query:
SELECT id, title, category, alt_name, xfields FROM dle_post WHERE approve AND id IN ()
On another hosting with the client version of the database: libmysql - 5.1.71 everything works,
The same is true for the new version of mysqlnd 5.0.8.
Tell me if it can be fixed and how much it will cost.