The page that links to the problem page is - http://www.eastbourneheritagecentre.co.uk/items?collection=1 (Click on any image to trigger.)
I think the problem appeared when I moved the site to a new provider and executed an update to Omeka 2.5. Previous to this, the site has worked correctly for several years. Is there an update that has affected the code?
The offending code was suggested to me by patrickmj in the forum post - http://omeka.org/forums-legacy/topic/customize-itemsshow#post-91256
The problem code is -
$orderedItems = get_db()->getTable(‘ItemOrder_ItemOrder’)->fetchOrderedItems(metadata(‘item’, ‘Collection Id’));
I am using Omeka 2.5