As already described in #4221 there are error messages looking at old visits e.g. from March-Oktober in vistor log and visitor profile.
This seem to be fixed now but only for new data logged with Piwik 2.0b (November?).
Looking at the old data or e.g. the full year there are plenty of them with latest Piwik beta 2.0b8
As figured out in the mentioned ticket, these Errors seem to/may result from German Umlauts in pagetitle.
the message again is the same error line like at the bigging we talked about this problem:
There is an error. Please report the message (Piwik 2.0-b8) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).
Warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /html/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php on line 925
Backtrace -->
<a href='/0'>#0</a> Piwik\Error::errorHandler(...) called at [:]
<a href='/1'>#1</a> htmlspecialchars(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php:925]
<a href='/2'>#2</a> twig_escape_filter(...) called at [/html/piwik/tmp/templates_c/57/26/f50133f3038ccbfc28e1ecc8d3b1b89982619950037a3321ccfb9c3ede32.php:313]
<a href='/3'>#3</a> __TwigTemplate_5726f50133f3038ccbfc28e1ecc8d3b1b89982619950037a3321ccfb9c3ede32->doDisplay(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:264]
<a href='/4'>#4</a> Twig_Template->displayWithErrorHandling(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:238]
<a href='/5'>#5</a> Twig_Template->display(...) called at [/html/piwik/tmp/templates_c/b4/a1/a35ef731cdf931ecd4994401b308abd53b13fd3c1ed013a537523891a337.php:589]
<a href='/6'>#6</a> __TwigTemplate_b4a1a35ef731cdf931ecd4994401b308abd53b13fd3c1ed013a537523891a337->doDisplay(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:264]
<a href='/7'>#7</a> Twig_Template->displayWithErrorHandling(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:238]
<a href='/8'>#8</a> Twig_Template->display(...) called at [/html/piwik/tmp/templates_c/f6/f4/6ed24a7d9ed3e245fa01550d6ed4e014f32f8bce916134512d56978f453c.php:117]
<a href='/9'>#9</a> __TwigTemplate_f6f46ed24a7d9ed3e245fa01550d6ed4e014f32f8bce916134512d56978f453c->doDisplay(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:264]
<a href='/10'>#10</a> Twig_Template->displayWithErrorHandling(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:238]
<a href='/11'>#11</a> Twig_Template->display(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:249]
<a href='/12'>#12</a> Twig_Template->render(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Environment.php:296]
<a href='/13'>#13</a> Twig_Environment->render(...) called at [/html/piwik/core/View.php:241]
<a href='/14'>#14</a> Piwik\View->renderTwigTemplate(...) called at [/html/piwik/core/View.php:236]
<a href='/15'>#15</a> Piwik\View->render(...) called at [/html/piwik/core/Plugin/ViewDataTable.php:276]
<a href='/16'>#16</a> Piwik\Plugin\ViewDataTable->render(...) called at [/html/piwik/core/Plugin/Controller.php:228]
<a href='/17'>#17</a> Piwik\Plugin\Controller->renderReport(...) called at [/html/piwik/plugins/Live/Controller.php:96]
<a href='/18'>#18</a> Piwik\Plugins\Live\Controller->getLastVisitsDetails(...) called at [/html/piwik/plugins/Live/Controller.php:90]
<a href='/19'>#19</a> Piwik\Plugins\Live\Controller->indexVisitorLog(...) called at [:]
<a href='/20'>#20</a> call_user_func_array(...) called at [/html/piwik/core/FrontController.php:114]
<a href='/21'>#21</a> Piwik\FrontController->dispatch(...) called at [/html/piwik/index.php:58]
please see also attachment
=> If not only new data should be usable with piwik 2.0 we may should have a look at this again...
Attachment:
2013-11-21_12h23_15.png
to go the direct way to more details within the ticket mentioned above use this link:
#4221
yes unfortunately it's still there with the b10 from master :-(
Do you experience it for all days or only one particular day?
could you try to upgrade to PHP 5.5 or 5.4?
Does it not happen with new data?
updated to latest piwik version from master 8.12.13 12:00 europe:
it's still there - and in many many days..
php is latest from 5.3=>5.3.27
sorry an update to a newer version is not possible on this server since some other software relay on 5.3 doesn't work well with 5.4/5
Thanks for the follow up! in the meantime you can replace the htmlspecialchars by @htmlspecialchars at the 3 lines around 925
#1 htmlspecialchars(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php:925]
this will silent the error.
I'm still un-sure of the fix. Maybe we should catch this particular php warning and ignore it, maybe a bug in php 5.3.x.
installed Piwik 2.02
=> the error message changed a little bit:
There is an error. Please report the message (Piwik 2.0.2) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).
Warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /html/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php on line 968
Backtrace -->
<a href='/0'>#0</a> Piwik\Error::errorHandler(...) called at [:]
<a href='/1'>#1</a> htmlspecialchars(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php:968]
<a href='/2'>#2</a> twig_escape_filter(...) called at [/html/piwik/tmp/templates_c/e1/3e/861e3fd02fc14c73bba288b177deeb8274a429bcb91c2400f69ebe9dc578.php:207]
<a href='/3'>#3</a> __TwigTemplate_e13e861e3fd02fc14c73bba288b177deeb8274a429bcb91c2400f69ebe9dc578->doDisplay(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:276]
<a href='/4'>#4</a> Twig_Template->displayWithErrorHandling(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:250]
<a href='/5'>#5</a> Twig_Template->display(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Template.php:261]
<a href='/6'>#6</a> Twig_Template->render(...) called at [/html/piwik/vendor/twig/twig/lib/Twig/Environment.php:292]
<a href='/7'>#7</a> Twig_Environment->render(...) called at [/html/piwik/core/View.php:253]
<a href='/8'>#8</a> Piwik\View->renderTwigTemplate(...) called at [/html/piwik/core/View.php:248]
<a href='/9'>#9</a> Piwik\View->render(...) called at [/html/piwik/plugins/Live/Controller.php:157]
<a href='/10'>#10</a> Piwik\Plugins\Live\Controller->getVisitorProfilePopup(...) called at [:]
<a href='/11'>#11</a> call_user_func_array(...) called at [/html/piwik/core/FrontController.php:117]
<a href='/12'>#12</a> Piwik\FrontController->dispatch(...) called at [/html/piwik/index.php:71]
A similar issue was reported in the Visitor profile http://forum.piwik.org/read.php?2,110352
Invalid multibyte sequence in argument in /html/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php on line 927
This bug has occurred again in Piwik 2.2.2. I created ticket at #5157