You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a data bug, where we give twig data in the wrong encoding and it errors out when calling htmlspecialchars.
URL where this was reproduced = index.php?date=2014-04-08&module=Actions&action=getPageUrls&idSite=1&period=day&search_recursive=1&viewDataTable=table&filter_sort_column=nb_visits&filter_sort_order=desc&idSubtable=11
Got this error:
Warning:htmlspecialchars(): Invalid multibyte sequence in argument in /mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Extension/Core.php on line 968
Backtrace -->
#0 Piwik\Error::errorHandler(...) called at [:]
#1 htmlspecialchars(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Extension/Core.php:968]
#2 twig_escape_filter(...) called at [/mnt/piwik-tmp/piwik_piwik-21/rcart.piwik.pro/templates_c/c8/70/aa3e8e01e615d4ce1f1767b5894a5cd847edbaba00c73accef767a6c12b8.php:35]
#3 __TwigTemplate_c870aa3e8e01e615d4ce1f1767b5894a5cd847edbaba00c73accef767a6c12b8->doDisplay(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Template.php:276]
#4 Twig_Template->displayWithErrorHandling(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Template.php:250]
#5 Twig_Template->display(...) called at [/mnt/piwik-tmp/piwik_piwik-21/rcart.piwik.pro/templates_c/45/1a/eed9ac6aaeafc566968f6333c7f3a44d4f401ecf28d5ecb1f36cbc400e8d.php:119]
#6 __TwigTemplate_451aeed9ac6aaeafc566968f6333c7f3a44d4f401ecf28d5ecb1f36cbc400e8d->doDisplay(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Template.php:276]
#7 Twig_Template->displayWithErrorHandling(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Template.php:250]
#8 Twig_Template->display(...) called at [/mnt/piwik-tmp/piwik_piwik-21/rcart.piwik.pro/templates_c/89/ae/ae3a91d087ca0af778a2920d6eacd6c3d84ea46260b2d42c2ba7d664ff21.php:23]
#9 __TwigTemplate_89aeae3a91d087ca0af778a2920d6eacd6c3d84ea46260b2d42c2ba7d664ff21->doDisplay(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Template.php:276]
#10 Twig_Template->displayWithErrorHandling(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Template.php:250]
#11 Twig_Template->display(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Template.php:261]
#12 Twig_Template->render(...) called at [/mnt/storage/sites/piwik-21/docroot/vendor/twig/twig/lib/Twig/Environment.php:292]
#13 Twig_Environment->render(...) called at [/mnt/storage/sites/piwik-21/docroot/core/View.php:252]
#14 Piwik\View->renderTwigTemplate(...) called at [/mnt/storage/sites/piwik-21/docroot/core/View.php:247]
#15 Piwik\View->render(...) called at [/mnt/storage/sites/piwik-21/docroot/core/Plugin/ViewDataTable.php:359]
#16 Piwik\Plugin\ViewDataTable->render(...) called at [/mnt/storage/sites/piwik-21/docroot/core/Plugin/Controller.php:228]
#17 Piwik\Plugin\Controller->renderReport(...) called at [/mnt/storage/sites/piwik-21/docroot/plugins/Actions/Controller.php:89]
#18 Piwik\Plugins\Actions\Controller->getPageUrls(...) called at [:]
#19 call_user_func_array(...) called at [/mnt/storage/sites/piwik-21/docroot/core/FrontController.php:521]
#20 Piwik\FrontController->doDispatch(...) called at [/mnt/storage/sites/piwik-21/docroot/core/FrontController.php:84]
#21 Piwik\FrontController->dispatch(...) called at [/mnt/storage/sites/piwik-21/docroot/core/dispatch.php:30]
#22 require_once(...) called at [/mnt/storage/sites/piwik-21/docroot/index.php:47]
Solution:
fix the input data charset
or disable error reporting for the |escape filter
The text was updated successfully, but these errors were encountered:
There is a data bug, where we give twig data in the wrong encoding and it errors out when calling htmlspecialchars.
URL where this was reproduced = index.php?date=2014-04-08&module=Actions&action=getPageUrls&idSite=1&period=day&search_recursive=1&viewDataTable=table&filter_sort_column=nb_visits&filter_sort_order=desc&idSubtable=11
Got this error:
Solution:
The text was updated successfully, but these errors were encountered: