Something went wrong
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 ') AND (ca_occurrences.access IN (1)) AND (ca_objects.access IN (1)) AND (ca_o...' at line 7 in /var/www/magog/collectiveaccess2/pawtucket2/app/lib/Db/mysqli.php line 316:
- In Db_mysqli->execute(Object DbStatement, Object DbStatement, ' SELECT 1 FROM ca_objects INNER JOIN ca_objects_x_occurrences ON ca_objects.object_id = ca_objects_x_occurrences.object_id INNER JOIN ca_occurrences ON ca_objects_x_occurrences.occurrence_id = ca_occurrences.occurrence_id WHERE ca_occurrences.type_id IN () AND (ca_occurrences.access IN (1)) AND (ca_objects.access IN (1)) AND (ca_objects.deleted = 0) AND (ca_occurrences.deleted = 0) LIMIT 1', Array(0), ) in DbStatement line 151
- At DbStatement->executeWithParamsAsArray(Array(0), ) in Db line 259
- At Db->query(' SELECT 1 FROM ca_objects INNER JOIN ca_objects_x_occurrences ON ca_objects.object_id = ca_objects_x_occurrences.object_id INNER JOIN ca_occurrences ON ca_objects_x_occurrences.occurrence_id = ca_occurrences.occurrence_id WHERE ca_occurrences.type_id IN () AND (ca_occurrences.access IN (1)) AND (ca_objects.access IN (1)) AND (ca_objects.deleted = 0) AND (ca_occurrences.deleted = 0) LIMIT 1', Array(0)) in BrowseEngine line 5659
- At BrowseEngine->getFacetContent('occurrence_facet', Array(8)) in BrowseEngine line 2558
- At BrowseEngine->getFacet('occurrence_facet', Array(8)) in BrowseEngine line 2520
- At BrowseEngine->loadFacetContent(Array(7)) in BrowseEngine line 2479
- At BrowseEngine->execute(Array(7)) in BaseBrowse line 48
- At BaseBrowse->execute(Array(6)) in SearchController line 337
- At SearchController->__call('objects', Array(0)) in RequestDispatcher line 273
- At RequestDispatcher->dispatch(Array(2)) in AppController line 113
- At AppController->dispatch(true) in index line 124
Request parameters: