after update to 2.10. I get the following error (multisites).
I disabled all plugins (e.g. custom opt out) and themes (zeitgeitst) and still get the error:
Fatal error: Uncaught exception ‘Exception’ with message ‘1 total errors during this script execution, please investigate and try and fix these errors.’ in …/core/CronArchive.php:406 Stack trace: #0
…/core/CronArchive.php(399): Piwik\CronArchive->logFatalError(‘1 total errors …’) #1
…/core/CronArchive.php(240): Piwik\CronArchive->end() #2
…/core/Access.php(454): Piwik{closure}() #3
…/core/CronArchive.php(241): Piwik\Access::doAsSuperUser(Object(Closure)) #4
…/misc/cron/archive.php(84): Piwik\CronArchive->main() #5 {main} thrown in
…/core/CronArchive.php on line 406
A fatal error occurred
The following error just broke Piwik (v2.10.0):
Uncaught exception ‘Exception’ with message ‘1 total errors during this script execution, please investigate and try and fix these errors.’ in …/piwik/piwik_einrichtungen/core/CronArchive.php:406
Stack trace: #0 …/core/CronArchive.php(399): Piwik\CronArchive->logFatalError(‘1 total errors …’) #1 …/core/CronArchive.php(240): Piwik\CronArchive->end() #2 …/core/Access.php(454): Piwik{closure}() #3 …/core/CronArchive.php(241): Piwik\Access::doAsSuperUser(Object(Closure)) #4 …/misc/cron/archive.php(84): Piwik\CronArchive->main() #5 {main}
thrown
in
…/core/CronArchive.php line 406
Entries of the errorlog.txt
[09-Jan-2015 08:34:13 UTC] Error in Piwik: Piwik › Error
[09-Jan-2015 09:11:24 UTC] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘1 total errors during this script execution, please investigate and try and fix these errors.’ in …/core/CronArchive.php:406
Stack trace: #0 …/core/CronArchive.php(399): Piwik\CronArchive->logFatalError(‘1 total errors …’) #1 …/core/CronArchive.php(240): Piwik\CronArchive->end() #2 …/core/Access.php(454): Piwik{closure}() #3 …/core/CronArchive.php(241): Piwik\Access::doAsSuperUser(Object(Closure)) #4 …/misc/cron/archive.php(84): Piwik\CronArchive->main() #5 {main}
thrown in …/core/CronArchive.php on line 406
the error still persists and today I’ve opened piwik frontend - displaying lots of widget errors!
Fatal error: Class ‘Piwik\Archive’ not found in …/plugins/VisitsSummary/API.php on line 28
Fatal error: Uncaught exception ‘Exception’ with message ‘Class ‘Piwik\Archive’ not found’ in …/plugins/CorePluginsAdmin/Controller.php:350 Stack trace: #0 [internal function]: Piwik\Plugins\CorePluginsAdmin\Controller->safemode(Array) #1 …/core/FrontController.php(586): call_user_func_array(Array, Array) #2 …/core/FrontController.php(96): Piwik\FrontController->doDispatch(‘CorePluginsAdmi…’, ‘safemode’, Array) #3 …/core/FrontController.php(258): Piwik\FrontController->dispatch(‘CorePluginsAdmi…’, ‘safemode’, Array) #4 [internal function]: Piwik\FrontController::triggerSafeModeWhenError() #5 {main} thrown in …/plugins/CorePluginsAdmin/Controller.php on line 350
Fatal error: Class ‘Piwik\Archive’ not found in …/plugins/VisitsSummary/API.php on line 28
a:2:{s:6:“result”;s:5:“error”;s:7:“message”;s:31:“Class ‘Piwik\Archive’ not found”;}
Fatal error: Class ‘Piwik\Archive’ not found in /www/htdocs/w00c8c52/piwik/piwik_alexianer_holding/plugins/DevicesDetection/API.php on line 35
Fatal error: Uncaught exception ‘Exception’ with message ‘Class ‘Piwik\Archive’ not found’ in …/plugins/CorePluginsAdmin/Controller.php:350 Stack trace: #0 [internal function]: Piwik\Plugins\CorePluginsAdmin\Controller->safemode(Array) #1 …/core/FrontController.php(586): call_user_func_array(Array, Array) #2 …/core/FrontController.php(96): Piwik\FrontController->doDispatch(‘CorePluginsAdmi…’, ‘safemode’, Array) #3 /…/core/FrontController.php(258): Piwik\FrontController->dispatch(‘CorePluginsAdmi…’, ‘safemode’, Array) #4 [internal function]: Piwik\FrontController::triggerSafeModeWhenError() #5 {main} thrown in …/plugins/CorePluginsAdmin/Controller.php on line 350
This is not the same error, if there is a class missing that means that the files were not correctly uploaded (or some files were deleted?). Try reuploading Piwik files manually from the latest release.
Ok, I’ve reuploaded the files of the latest release - frontend works again - Thank you very much!
In the meantime I deactivated the cron job. I activated it again - and that’s the latest error message:
Notice: Undefined index: defaultReport in /www/htdocs/w00c8c52/piwik/piwik_alexianer_holding/core/CronArchive.php on line 1518
Notice: Undefined index: defaultReport in …/core/CronArchive.php on line 1518
Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000]: General error: 2006 MySQL server has gone away’ in …/libs/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 …/libs/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 …/libs/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #2 …/core/Db/Adapter/Pdo/Mysql.php(230): Zend_Db_Statement->execute(Array) #3 …/core/Db.php(175): Piwik\Db\Adapter\Pdo\Mysql->query(‘INSERT INTO pi...', Array) #4 .../core/Option.php(198): Piwik\Db::query('INSERT INTOpi…’, Array) #5 …/core/Option.php(71): Piwik\Option->setValue(‘lastRunArchivep…’, 1421396230, 0) #6 /www/htdocs/w00c8c52/piwik/piwik_alexianer_ho in …/libs/Zend/Db/Statement/Pdo.php on line 234
Fatal error: Uncaught exception ‘Zend_Session_Exception’ with message ‘Session must be started before any output has been sent to the browser; output started in …/core/CronArchive.php/1518’ in …/libs/Zend/Session.php:443 Stack trace: #0 …/libs/Zend/Session/Namespace.php(143): Zend_Session::start(true) #1 …/core/Session/SessionNamespace.php(31): Zend_Session_Namespace->__construct(‘CorePluginsAdmi…’, false) #2 …/core/Nonce.php(39): Piwik\Session\SessionNamespace->__construct(‘CorePluginsAdmi…’) #3 …/plugins/CorePluginsAdmin/Controller.php(364): Piwik\Nonce::getNonce(‘CorePluginsAdmi…’) #4 [internal function]: Piwik\Plugins\CorePluginsAdmin\Controller->safemode(Array) #5 …/core/Fro in …/libs/Zend/Session.php on line 443
Oops, sorry! I’ve thought it worked (it did for a few hours). Well, I’ve got two installations on a server. One is o.k. now, the second (where I reuploaded all files and did the fix in cronArchive.php) still produces this error:
Fatal error: Uncaught exception ‘Exception’ with message ‘1 total errors during this script execution, please investigate and try and fix these errors.’ in …/core/CronArchive.php:406 Stack trace: #0 …/core/CronArchive.php(399): Piwik\CronArchive->logFatalError(‘1 total errors …’) #1 …/core/CronArchive.php(240): Piwik\CronArchive->end() #2 …/core/Access.php(454): Piwik{closure}() #3 …/core/CronArchive.php(241): Piwik\Access::doAsSuperUser(Object(Closure)) #4 …/misc/cron/archive.php(84): Piwik\CronArchive->main() #5 {main} thrown in …/core/CronArchive.php on line 406
A fatal error occurred
The following error just broke Piwik (v2.10.0):
Uncaught exception ‘Exception’ with message ‘1 total errors during this script execution, please investigate and try and fix these errors.’ in …/core/CronArchive.php:406
Stack trace: #0 …/core/CronArchive.php(399): Piwik\CronArchive->logFatalError(‘1 total errors …’) #1 …/core/CronArchive.php(240): Piwik\CronArchive->end() #2 …/core/Access.php(454): Piwik{closure}() #3 …/core/CronArchive.php(241): Piwik\Access::doAsSuperUser(Object(Closure)) #4 …/misc/cron/archive.php(84): Piwik\CronArchive->main() #5 {main}
thrown
in
…/core/CronArchive.php line 406
The values for the Mysql-server are the following:
thanks a lot! The last update really develops to a neverending story!? I read the error and updated the Geo-ip installation and there are no more logs in the tmp/logs/piwik.log after the 21st of january.
But in the Errorlog.txt I have these entries unregularly:
[28-Jan-2015 16:59:54 UTC] Error in Piwik: Piwik › Error
And I get every hour an email with no text but the subject
Cronjob http://…/misc/cron/archive.php?token_auth=cf2c630f5492bada051c9282e7264f23
I’ve inserted in the cron job administration that there should be no email sending when the job reached the status “Done”
I really wonder why I get from one error to another?
The plugin customoptout is not enabled. You can activate the plugin on Settings > Plugins page in Piwik.
Are you showing a “opt out” iframe on your website? Maybe users try to opt-out but the plugin is disabled in your Piwik. I don’t really know, try to enable the plugin maybe?