• Resolved N00body

    (@n00body)


    Hello together,

    I´m running some websites with WordPress and today I decided to install PIWIK and the WP-Piwik-Plugin.

    Eleven of twelve intallations were complete simple and the plugin is runnig as it should.

    Only one installation will cause problems:

    when I try to activate the PlugIn the following error occurs:

    undefined method wp_piwik::check_url() in /xxx/xxx/html/mywebsite/wp-content/plugins/wp-piwik/update/80800.php on line 2

    Does anybody know where the error come from?

    Manny thanks

    n00body

    http://wordpress.org/extend/plugins/wp-piwik/

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

    (@braekling)

    Sounds like an old WP-Piwik version was installed before, but the upgrade script seems to be erroneous.

    WORKAROUND:
    Just remove the following code in update/80800.php:

    self::$aryGlobalSettings['piwik_url'] = self::check_url(self::$aryGlobalSettings['piwik_url']);

    After activating the plugin, you should check the stored Piwik URL and save your Piwik settings at least once.

    I’ll also provide a fix as soon as possible, of course.

    Thread Starter N00body

    (@n00body)

    Hi braekling,
    thank you very much.

    After deleting the code I could activate the plugin and I could see there another configuration-setting ( there was – like you said – an old installation before (wondering who did that )). After changing the settings of the Plugin I inserted the deleted code again in 80800.php and tried to deactivate and activate again the plugin, which seems to work perfect.

    Again, thank you very much for your help.

    I marked this thread as solved, because I think there was an Error on my side ( the formerly installed PlugIn , maybe from an Co-Admin or something else) and wp-piwik works as it should.

    kindly regards,

    N00body

    Plugin Author braekling

    (@braekling)

    Nope, it was my fault. I changed check_url() without changing the function call in the upgrade file. (And – by the way – it’s caused by the missing uninstall function.)

    But future versions will also work if you are upgrading from 0.8.7 or below 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Piwik] undefined method wp_piwik::check_url()’ is closed to new replies.