Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.1-b12 only Visitor Log updates, nothing else.... (regression) #4956

Closed
anonymous-matomo-user opened this issue Apr 5, 2014 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

Hello,

After update to 2.1.1-b12 I had to disable several plug-ins (from the marketplace) due to errors.
My Visitor Log is showing new visitors but all other screens don't update.

[Sat Apr 05 10:31:58 2014] [error] [client 95.97.70.146] PHP Fatal error:  Call to undefined method Piwik\\Piwik::isUserIsSuperUser() in /home2/element/public_html/analytics/plugins/cacheBuster/cacheBuster.php on line 33, referer: http://analytics.4elements.com/index.php?module=CoreUpdater&action=
[Sat Apr 05 10:32:26 2014] [error] [client 95.97.70.146] PHP Fatal error:  Call to undefined method Piwik\\Piwik::isUserIsSuperUser() in /home2/element/public_html/analytics/plugins/VisitorGenerator/VisitorGenerator.php on line 37, referer: http://analytics.4elements.com/index.php?module=MultiSites&action=index&idSite=1&period=day&date=today
[Sat Apr 05 10:35:25 2014] [error] [client 95.97.70.146] PHP Fatal error:  Call to undefined method Piwik\\Piwik::checkUserIsSuperUser() in /home2/element/public_html/analytics/plugins/BotTracker/Controller.php on line 90, referer: http://analytics.4elements.com/index.php?module=UsersManager&action=userSettings&idSite=1&period=day&date=today

Than I tried to run the cron. Getting the following error.

Output from command /usr/bin/php /home2/element/public_html/analytics/misc/cron/archive.php -- url=http://analytics.4elements.com/ > /home2/element/public_html/analytics/logs/piwik-archive.log ..

Error in the last Piwik archive.php run: 
The Piwik URL http://analytics.4elements.com/index.php does not seem to be pointing to a Piwik server. Response was ''.


 Here is the full errors output:

---------------------------
INIT
Piwik is installed at: http://analytics.4elements.com/index.php
Running Piwik 2.1.1-b12 as Super User: admin
ERROR: Got invalid response from API request: http://analytics.4elements.com/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was 'PHP Fatal error:  Can't use function return value in write context in /home2/element/public_html/analytics/plugins/CoreConsole/Commands/SetupFixture.php on line 72

@mattab
Copy link
Member

mattab commented Apr 6, 2014

This is an error in the cacheBuster plugin: please contact author http://plugins.piwik.org/cacheBuster

We published a blog post explaining the changes: http://piwik.org/blog/2014/02/piwik-2-1-changes-plugin-developers/

Thanks!

@anonymous-matomo-user
Copy link
Author

Hello,
I already uninstalled and removed (as mentioned above)

  • cacheBuster
  • VisitorGenerator
  • BotTracker

But no change at all. Cron won't work, dashboard won't work.
If it's cacheBuster how come it still does not work if cacheBuster is not there anymore..???

And what about not being able to run cron, see above error?

@anonymous-matomo-user
Copy link
Author

Fixed it.

By going back to 2.1.1-B10 (trough timemachine)
All start working again, cron works, stats show up again in dashboard.

You have some problems to fix before you release version 2.1.1 or as I could see 2.2
Until than I stay on beta 10

@mattab
Copy link
Member

mattab commented Apr 6, 2014

Fixed in 4d0ea79

will be in 2.2.0-b13

Thanks for the report!

@anonymous-matomo-user anonymous-matomo-user added this to the 2.2.0 - Piwik 2.2.0 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants