Annotations error after upgrade


#1

Hi, we had an incomplete upgrade due to a high load on the server. After reinstall it successfuly we have error messages in the web when piwik tries to recover the annotations made before the upgrade, but we can do new annotations and those are showed perfectly.

The error appears under the graph with anotations (attached below), one error per anotation made in the past. I suppose that some pointer must exists in the database and in phisical files, but probably we lost the files because we reinstaled Piwik using the old database.


There is an error. Please report the message (Piwik 2.0.3) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: unserialize(): Error at offset 225 of 614 bytes in /var/www/piwik/plugins/Annotations/AnnotationList.php on line 319

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 unserialize(…) called at [/var/www/piwik/plugins/Annotations/AnnotationList.php:319]
#2 Piwik\Plugins\Annotations\AnnotationList->getAnnotationsForSite(…) called at [/var/www/piwik/plugins/Annotations/AnnotationList.php:62]
#3 Piwik\Plugins\Annotations\AnnotationList->__construct(…) called at [/var/www/piwik/plugins/Annotations/API.php:226]
#4 Piwik\Plugins\Annotations\API->getAnnotationCountForDates(…) called at [:]
#5 call_user_func_array(…) called at [/var/www/piwik/core/API/Proxy.php:213]
#6 Piwik\API\Proxy->call(…) called at [/var/www/piwik/core/API/Request.php:220]
#7 Piwik\API\Request->process(…) called at [/var/www/piwik/core/API/Request.php:306]
#8 Piwik\API\Request::processRequest(…) called at [/var/www/piwik/plugins/Annotations/Controller.php:210]
#9 Piwik\Plugins\Annotations\Controller->getEvolutionIcons(…) called at [:]
#10 call_user_func_array(…) called at [/var/www/piwik/core/FrontController.php:117]
#11 Piwik\FrontController->dispatch(…) called at [/var/www/piwik/index.php:62]


(Matthieu Aubry) #2

Thanks for the report. This bug was fixed in 2.1 RC release: 301 Moved Permanently