A Database Error Occurred

Error Number: 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 'and metaKey='sale_price'' at line 3

SELECT * from myt_postmeta mytpm WHERE 1=1 and postId= and metaKey='sale_price'

Filename: libraries/Myt.php

Line Number: 200