Fatal error: Uncaught exception 'DALException' with message 'SQLSTATE[23503]: Foreign key violation: 7 ERROR: insert or update on table "cache_stats" violates foreign key constraint "cache_stats_fk1" DETAIL: Key (assetid)=(13259) is not present in table "asset".' in /var/www/mysource4/htdocs/DAL/DAL.inc:729 Stack trace: #0 /var/www/mysource4/htdocs/DAL/DAL.inc(756): DAL::executeQuery(Object(Query), NULL) #1 [internal function]: DAL::getExecuteQuery(Object(Query)) #2 /var/www/mysource4/htdocs/DAL/DAL.inc(797): call_user_func(Array, Object(Query)) #3 /var/www/mysource4/htdocs/Systems/LocalCache/LocalCacheActions.inc(556): DAL::executeDALQuery(Object(Query)) #4 /var/www/mysource4/htdocs/Channels/Oven/Cache/Cache.inc(192): LocalCacheActions::initStats('http://www.lgbc...', '13259', '2012-05-25') #5 /var/www/mysource4/htdocs/Systems/LocalCache/LocalCacheActions.inc(990): Cache::initStats('http://www.lgbc...', '13259', '2012-05-25') #6 /var/www/mysource4/htdocs/Channels/Oven/Cache/Cache.inc(365): LocalCacheActions::loadFromCa in /var/www/mysource4/htdocs/DAL/DAL.inc on line 729