#0 /var/www/wikindx/core/libs/SQL.php(3493): SQL->sqlDie('...', '...')
#1 /var/www/wikindx/core/libs/SQL.php(119): SQL->internalQuery('...', false)
#2 /var/www/wikindx/core/bibcitation/BIBCITEGATEWAY.php(1462): SQL->query('...')
#3 /var/www/wikindx/core/bibcitation/BIBCITEGATEWAY.php(1384): BIBCITEGATEWAY->getResourcesPublisher(Array)
#4 /var/www/wikindx/core/bibcitation/BIBCITEGATEWAY.php(497): BIBCITEGATEWAY->getResourceData(Array, '...', '', true, true, Array)
#5 /var/www/wikindx/core/lists/LISTCOMMON.php(228): BIBCITEGATEWAY->getDataFromResIds(Array, true, Array)
#6 /var/www/wikindx/core/modules/list/LISTSOMERESOURCES.php(585): LISTCOMMON->populateRows('...', '...', '...', '...', '...', '...')
#7 /var/www/wikindx/core/modules/list/LISTSOMERESOURCES.php(77): LISTSOMERESOURCES->creatorProcess()
#8 /var/www/wikindx/index.php(137): LISTSOMERESOURCES->reorder()
[SQL ERROR]
SELECT `resourceId`, `resourceType`, `resourcemiscField1`, `publisherId`, `publisherName`, `publisherLocation`
FROM `resource`
LEFT OUTER JOIN `resource_misc` ON `resourcemiscId` = `resourceId`
LEFT OUTER JOIN `publisher` ON
CASE
WHEN (`resourceType` = 'proceedings' OR `resourceType` = 'proceedings_article') AND `resourcemiscField1` IS NOT NULL THEN
`resourcemiscField1`
ELSE `resourcemiscPublisher`
END = `publisherId`
WHERE
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 10