[PrestaShopDatabaseException]

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 (v_p.`position` = 'productImages') AND (v.active = 1) ORDER BY v.posit...' at line 10<br /><br /><pre>SELECT vrc.id_hiupv, v.*, v_l.*, v_p.position FROM `ormnl_hiupvrelatedcategory` vrc LEFT JOIN `ormnl_hiupv` `v` ON v.`id_hiupv` = vrc.`id_hiupv` LEFT JOIN `ormnl_hiupvposition` `v_p` ON v_p.`id_hiupv` = v.`id_hiupv` LEFT JOIN `ormnl_hiupv_lang` `v_l` ON v_l.`id_hiupv` = v.`id_hiupv` LEFT JOIN `ormnl_hiupv_shop` `v_s` ON v_s.`id_hiupv` = v.`id_hiupv` WHERE (v_l.`id_lang` = 1) AND (v_s.`id_shop` = 1) AND (vrc.`id_category` IN ()) AND (v_p.`position` = 'productImages') AND (v.active = 1) ORDER BY v.position desc </pre>
at line 769 in file classes/db/Db.php

764.         if ($webservice_call && $errno) {
765.             $dbg = debug_backtrace();
766.             WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97);
767.         } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
768.             if ($sql) {
769.                 throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>');
770.             }
771. 
772.             throw new PrestaShopDatabaseException($this->getMsgError());
773.         }
774.     }