Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author braekling

    (@braekling)

    Yes, of course this should work. 0.10.0.6 is intended to bring the full feature set again.

    If the mapping information is not available, WP-Piwik should get the site IDs again using a Piwik API request.

    I will have a look at this issue in the evening. As a workaround it may help to uninstall and re-install WP-Piwik once, because maybe the mapping information was not lost but mixed up. (Note: If you uninstall WP-Piwik, you have to re-configure WP-Piwik. All previous settings get lost. Of course, this would not affect the tracking data stored in Piwik.)

    Hello,

    with the update to 0.10.0.6. i got the following errors in the backend:

    WP-Piwik 0.10.0.6
    Mode: http
    
    Test 1/3: global.getPiwikVersion<br />
    <b>Warning</b>:  Missing argument 2 for WP_Piwik\Request::register(), called in /wp-content/plugins/wp-piwik/classes/WP_Piwik/Admin/Settings.php on line 600 and defined in <b>/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php</b> on line <b>15</b><br />
    
    string(5) "2.0.3"
    
    Test 2/3: SitesManager.getSitesWithAtLeastViewAccess<br />
    <b>Warning</b>:  Missing argument 2 for WP_Piwik\Request::register(), called in /wp-content/plugins/wp-piwik/classes/WP_Piwik/Admin/Settings.php on line 605 and defined in <b>/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php</b> on line <b>15</b><br />
    
    <br />
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php</b> on line <b>62</b><br />
    <br />
    <b>Warning</b>:  array_unshift() expects parameter 1 to be array, null given in <b>/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php</b> on line <b>48</b><br />
    <br />
    <b>Warning</b>:  array_unshift() expects parameter 1 to be array, null given in <b>/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php</b> on line <b>49</b><br />
    bool(false)
    
    Test 3/3: SitesManager.getSitesIdFromSiteUrl
    
    array(0) {
    }

    i uninstalled and reinstalled the plugin, entered all information again, but the error still appear. no statistics are visible in the wp backend. logging the traffic is still working, i do it by hand with the according piwik code in my footer.php and disabled the inclusion in the WP Piwik settings in wordpress.
    This problem appeared on all website, where i updated to the latest version in wordpress repository. Can you give me an hint, what else i can try to fix the problem?
    Btw: enabling the auto configuration in setting do not show me any site. this was not the case before the update.

    Plugin Author braekling

    (@braekling)

    @haelje: It looks like the connection to Piwik works like expected (e.g. the Piwik version is delivered, 2.0.3). But Piwik does not respond a list of available sites.

    1. You are using an outdated version of Piwik (WP-Piwik requires 2.7 or higher since 0.9.9.13, you are using 2.0.3, the latest release is 2.13.1).
    2. If updating Piwik does not solve the problem, please check your auth token. Does it grant access to the required site?

    If the problem persits, please create your own thread about this, because your issue is not related to codifex’ issue. Thank you very much!

    (The warnings occur because of an error in my test script. I will solve this with the next update, but they are not related to the issue itself.)

    Thread Starter codifex

    (@codifex)

    Back to my problem:

    I updated from 0.9.9.18 to 0.10.0.7. The problem still occured (it’s a multisite network with about 20 sites).

    However, it seems that uninstalling/reinstalling 0.10.0.7 fixes the problem of the mixed up Piwik site IDs.

    Plugin Author braekling

    (@braekling)

    Just to unterstand your update process:

    Did you update from 0.9.9.18 to 0.10.0.6 and then to 0.10.0.7?

    Or did you revert from 0.10.0.6 to 0.9.9.18 and updated then from 0.9.9.18 to 0.10.0.7?

    After the correct site ID’s were estimated, they should not mix up again. The issue may be caused be the update script which converted the old settings structure to the new one.

    Currently, I’m debugging this line by line also to fix the caching issues mentioned in the other threads.

    Plugin Author braekling

    (@braekling)

    0.10.0.9 should now avoid the “mix up” problem and offers a reset functionality if necessary.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site mapping information lost on update from 0.9.9.18 to 0.10.0.6’ is closed to new replies.