Unable to read database.

SELECT `WKX_resource`.`id` AS `resourceId`, `type`, `title`, `shortTitle`, `doi`, `subtitle`, `noSort`, `url`, `isbn`, `field1`, `field2`, `field3`, `field4`, `field5`, `field6`, `field7`, `field8`, `field9`, `transTitle`, `transSubtitle`, `transNoSort`, `bibtexKey`, `collection`, `publisher`, `miscField1`, `miscField2`, `miscField3`, `miscField4`, `miscField5`, `miscField6`, `tag`, `addUserIdResource`, `editUserIdResource`, `accesses`, `attachDownloads`, `maturityIndex`, `peerReviewed`, `year1`, `year2`, `year3`, `year4`, `pageStart`, `pageEnd`, `creator1`, `creator2`, `creator3`, `creator4`, `creator5`, `quotes`, `paraphrases`, `musings`, `publisherName`, `publisherLocation`, `publisherType`, `collectionTitle`, `collectionTitleShort`, `collectionType`, `collectionString`, `WKX_resource_timestamp`.`timestamp` AS `timestamp`, `WKX_resource_timestamp`.`timestampAdd` AS `timestampAdd` FROM (`WKX_resource`) LEFT JOIN (`WKX_resource_misc`) ON `WKX_resource`.`id`=`WKX_resource_misc`.`id` LEFT JOIN (`WKX_resource_year`) ON `WKX_resource`.`id`=`WKX_resource_year`.`id` LEFT JOIN (`WKX_resource_page`) ON `WKX_resource`.`id`=`WKX_resource_page`.`id` LEFT JOIN (`WKX_resource_creator`) ON `WKX_resource`.`id`=`WKX_resource_creator`.`id` LEFT JOIN (`WKX_resource_summary`) ON `WKX_resource`.`id`=`WKX_resource_summary`.`id` LEFT JOIN (`WKX_resource_note`) ON `WKX_resource`.`id`=`WKX_resource_note`.`id` LEFT JOIN (`WKX_publisher`) ON `publisher`=`WKX_publisher`.`id` LEFT JOIN (`WKX_collection`) ON `collection`=`WKX_collection`.`id` LEFT JOIN (`WKX_resource_timestamp`) ON `WKX_resource_timestamp`.`id`=`WKX_resource`.`id` ORDER BY `timestamp` DESC, REPLACE(REPLACE(REPLACE(REPLACE(`title`, '{', ''), '}', '') , '"', ''), '\'', ''), COALESCE(`year1`, `year2`, `year3`) LIMIT 0, 10