Registered more than once


(Kim Geiger) #1

We have a fresh install of Piwik. When we access pages on the website that Piwik is monitoring, most of the time, we get the following javascript errors:

[Error] The method setTrackerUrl is registered more than once in “paq” variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation
b (piwik.js:64:112)
(anonymous function) (piwik.js:64:633)
Global Code (piwik.js:65)

[Error] The method setSiteId is registered more than once in “_paq” variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation:
ad (piwik.js:22:487)
b (piwik.js:68:594)
X (piwik.js:69)
addTracker (piwik.js:69:986)
(anonymous function) (piwik.js:73)
Global Code (piwik.js:73:606)

[Error] The method enableLinkTracking is registered more than once in “_paq” variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation:
ad (piwik.js:22:487)
b (piwik.js:68:594)
X (piwik.js:69)
addTracker (piwik.js:69:986)
(anonymous function) (piwik.js:73)
Global Code (piwik.js:73:606)

I’ve verified that the code is only running once. It appears, from watching the dashboard, that when this error happens, nothing gets logged.

Thoughts?


(Anup Ranekar) #2

Hi, I have also faced this issue. Removing “setUserId” from array defined in piwik.js file stops warning.


(Anup Ranekar) #3

Again this is a temporary fix. Any other solutions?