Thomas--F / BotTracker

BotTracker-Plugin for Piwik
GNU General Public License v3.0
33 stars 14 forks source link

Call to undefined method Piwik\Piwik::checkUserIsSuperUser() #5

Closed gaumondp closed 10 years ago

gaumondp commented 10 years ago

Just updated Piwik from 1.12 to 2.2b18 and when installing BotTracker 0.45 got this message :

A fatal error occurred The following error just broke Piwik (v2.2.0-b18):

Call to undefined method Piwik\Piwik::checkUserIsSuperUser() in /piwik/plugins/BotTracker/Controller.php line 90

Note that my server don't see the internet so I installed the plugin by uploading the zip from http://plugins.piwik.org/. PHP version is 5.3.13.

Let me know how I can help you debug this.

Patrick

hpvd commented 10 years ago

maybe it's the same problem: https://dev.piwik.org/trac/ticket/4988

Thomas--F commented 10 years ago

The method was depricated with 2.0.4 I change it to checkUserHasSuperUserAccess()

Thomas--F commented 10 years ago

New release is published. Use v0.46 for Piwik 2.2