An error has occurred

Unfortunately a query has failed [SELECT r.* FROM cms10_galleries r LEFT JOIN cms10_catalogue_entry_linkage l ON l.content_id=CAST( AS CHAR(65535)) AND content_type='gallery' LEFT JOIN cms10_catalogue_entries ce ON LEFT JOIN cms10_catalogue_efv_short f0 ON ( AND f0.cf_id=47) JOIN cms10_seo_meta_keywords m ON (m.meta_for_type='gallery' AND m.meta_for_id=CAST( AS CHAR(65535))) WHERE (MATCH (meta_keyword) AGAINST ('nbsp') OR meta_keyword='\"nbsp\"') AND name NOT LIKE 'download\_%' AND (ce.c_name='_gallery' OR ce.c_name IS NULL)/* 465bfee06fd97 */ LIMIT 10] [Unknown column '' in 'on clause'] (version: 10.0.20, PHP version: 5.4.45, URL: /index.php?page=search&type=results&content=%22nbsp%22&days=-1&only_search_meta=1&all_defaults=1)

The staff have been provided a ‘stack trace’ which may help them diagnose the problem.