Something went wrong
Not unique table/alias: 'ca_occurrences_x_occurrences' in /var/www/pawtucket/app/lib/Db/mysqli.php line 329:
- In Db_mysqli->execute(Object DbStatement, Object DbStatement, ' SELECT ca_occurrences.occurrence_id FROM ca_occurrences INNER JOIN ca_entities_x_occurrences ON ca_occurrences.occurrence_id = ca_entities_x_occurrences.occurrence_id INNER JOIN ca_entities ON ca_entities_x_occurrences.entity_id = ca_entities.entity_id INNER JOIN ca_occurrences_x_occurrences ON (ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id OR ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) INNER JOIN ca_occurrences AS ca_occurrences_rel ON (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) OR (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id) INNER JOIN ca_occurrences_x_occurrences ON (ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id OR ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) INNER JOIN ca_occurrences AS ca_occurrences_rel ON (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) OR (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id) WHERE (ca_occurrences_rel.hier_left >= 1 AND ca_occurrences_rel.hier_right <= 4294967296 AND ca_occurrences_rel.hier_occurrence_id = 4 AND (ca_occurrences_rel.deleted = 0)) ', Array(0), ) in DbStatement line 150
- At DbStatement->executeWithParamsAsArray(Array(0), ) in Db line 243
- At Db->query(' SELECT ca_occurrences.occurrence_id FROM ca_occurrences INNER JOIN ca_entities_x_occurrences ON ca_occurrences.occurrence_id = ca_entities_x_occurrences.occurrence_id INNER JOIN ca_entities ON ca_entities_x_occurrences.entity_id = ca_entities.entity_id INNER JOIN ca_occurrences_x_occurrences ON (ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id OR ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) INNER JOIN ca_occurrences AS ca_occurrences_rel ON (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) OR (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id) INNER JOIN ca_occurrences_x_occurrences ON (ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id OR ca_occurrences.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) INNER JOIN ca_occurrences AS ca_occurrences_rel ON (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_left_id) OR (ca_occurrences_rel.occurrence_id = ca_occurrences_x_occurrences.occurrence_right_id) WHERE (ca_occurrences_rel.hier_left >= 1 AND ca_occurrences_rel.hier_right <= 4294967296 AND ca_occurrences_rel.hier_occurrence_id = 4 AND (ca_occurrences_rel.deleted = 0)) ', Array(0)) in BrowseEngine line 2245
- At BrowseEngine->execute(Array(6)) in BaseBrowse line 48
- At BaseBrowse->execute(Array(6)) in BrowseController line 274
- At BrowseController->__call('programs', Array(1)) in RequestDispatcher line 282
- At RequestDispatcher->dispatch(Array(2)) in AppController line 114
- At AppController->dispatch(true) in index line 134
Request parameters: