Something went wrong
Not unique table/alias: 'ca_occurrences_x_occurrences' in /var/www/pawtucket/app/lib/Db/mysqli.php line 329:
  1. In Db_mysqli->execute(Object DbStatement, Object DbStatement, ' SELECT ca_occurrences.occurrence_id FROM ca_occurrences 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 = 372 AND (ca_occurrences_rel.deleted = 0)) ', Array(0), ) in DbStatement line 150
  2. At DbStatement->executeWithParamsAsArray(Array(0), ) in Db line 243
  3. At Db->query(' SELECT ca_occurrences.occurrence_id FROM ca_occurrences 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 = 372 AND (ca_occurrences_rel.deleted = 0)) ', Array(0)) in BrowseEngine line 2245
  4. At BrowseEngine->execute(Array(6)) in BaseBrowse line 48
  5. At BaseBrowse->execute(Array(6)) in BrowseController line 274
  6. At BrowseController->__call('productions', Array(1)) in RequestDispatcher line 282
  7. At RequestDispatcher->dispatch(Array(2)) in AppController line 114
  8. At AppController->dispatch(true) in index line 134
Request parameters: