Erro on page

Error [PrivException (1064)]: Plátano Editora - www.platanoeditora.pt/

Mensagem: DBAdapterMysql::query query error: 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 '' at line 1
-------------------------------------------
Data: 2024-03-29 05:56
Utilizador: 2
Ficheiro: /var/www/html/platano/website/ez/inc/globalDbConnector.php (174)
URI: www.platanoeditora.pt/?q=N/BASKETSHOW/841&a=add&cid=
-------------------------------------------
#0 /var/www/html/platano/website/modules/Platano/BASKETORDER/class_BASKET.php(188): DBAdapterMysql->query('select * from c...')
#1 /var/www/html/platano/website/modules/Platano/BASKETORDER/class_BASKETSHOW.php(32): BASKET->add('', NULL)
#2 /var/www/html/platano/website/index_site.php(89): BASKETSHOW->__construct('841', 'BASKETSHOW')
#3 /var/www/html/platano/website/index_site.php(153): getNode('841', 'BASKETSHOW')
#4 /var/www/html/platano/website/index.php(3): require_once('/var/www/html/p...')
#5 {main}
-------------------------------------------
PrivMessage:
select * from content_list c where c.cid =