Bug after Update to Piwik 2.16.0 - Dashboard Select Websites

After you upgrade to Piwik Version 2.16.0, the following error/bug appears in the Dashboard under the selection of websites:

{{‘CoreHome_ChangeCurrentWebsite’ |translate: ((selectedSite.name ||))}} {{(Â model.firstSiteName) |htmldecode)}}

No errors were displayed during the update process. The update operation was performed successfully.

I did it with different browsers (MS Edge, IE11, Chrome) tested, without difference or improvement.

Can anyone confirm this bug?

Is there a workaround or bug fix?

I am grateful of any help.

Best regards from Germany
John

Hi Johsn, see Website chooser may not work because of a whitespace problem by tsteur · Pull Request #9712 · matomo-org/piwik · GitHub - if you still have problem after applying the patch, post a comment on github directly

Hello matthieu,

Thank you very much for your reply!

Even after adding patch of space or the the whole line, has nothing changed, the error is still present.

Hi,

as a workaround I used the siteselector.directive.html from Piwik 2.15.

[PIWIK-PATH]/plugins/CoreHome/angularjs/siteselector/siteselector.directive.html

It did not work with the siteselector.directive.html file from the version 2.15 .

The Patch from https://github.com/piwik/piwik/pull/9729/files works fine!

I have changed the following files:

plugins/CoreHome/angularjs/siteselector/siteselector.directive.html (line 19 and 40)
plugins/ScheduledReports/API.php (line 736)

The bug is gone.

I have postet this on https://github.com/piwik/piwik/pull/9712

1 Like

it works THX @SebaldJ