Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and r.`type` <> 'Sonstiges' group by r.referenceID union select ' at line 2: select r.referenceID from hym_references r WHERE r.referenceID IN ( select r.referenceID as refID from hym_references r, hym_redlistdata rd where r.referenceID = rd.referenceID and rd.speciesID IN (0,) and r.`type` <> 'Sonstiges' group by r.referenceID union select r.referenceID as refID from hym_references r, hym_categories c where r.referenceID = c.referenceID and c.speciesID IN (0,) union select t.referenceID as refID from hym_taxaorig t where t.speciesID IN (0,) and t.referenceID is not null union select p.referenceID as refID from hym_pictures p where p.speciesID IN (0,) and p.referenceID is not null union select d.referenceID as refID from hym_distribution d where d.speciesID IN (0,) and d.referenceID is not null union select s.primaryReferenceID as refID from hym_species s where s.speciesID IN (0,) and s.primaryReferenceID is not null group by refID ) and r.authors not in ('ZooIS','HymIS','?') and r.referenceID not in (0,3961,5456,5777,5806,5824,57106,5888,6000,6111,8080,6600,6633,6637,6222,6333,6400,6444,6496,6522,6688,6647,6879,6880,6920,7009,7166,7177,7212,7222,7227,7234,7282,7293,7300,7320,7183,7326,7355,7502,7878,7923,8181,5800) and r.year > 1700; Array ( ) in species->setLiterature() (line 2237 of /mnt/web118/c2/77/51582777/htdocs/drupal/modules/hymis_core/scripts/class.hymis_species.inc).

Additional

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DB3766952.hym_semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => theme_registry:runtime:faunadecuba7:cache ) in lock_may_be_available() (line 167 of /mnt/web118/c2/77/51582777/htdocs/drupal-7.98/includes/lock.inc).


Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DB3766952.hym_semaphore' doesn't exist: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 93700824265f8f5148a7752.31972592 ) in lock_release_all() (line 269 of /mnt/web118/c2/77/51582777/htdocs/drupal-7.98/includes/lock.inc).