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

Call to undefined method Piwik\Tracker\Db\Pdo\Mysql::getProfiler() in core/Db.php on line 131 #5417

Closed
mattab opened this issue Jul 7, 2014 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@mattab
Copy link
Member

mattab commented Jul 7, 2014

This was originally reported in the forums:

After upgrading to 2.4.0 I get occasional code 500 errors:

GET /piwik.php?action_name=XXXXX%20-%20XXXX&idsite=2&rec=1&r=XXXXX&h=21&m=53&s=58&url=https%3A%2F%2FXXXXX.com%2F&urlref=https%3A%2F%2Fwww.2FXXXXX.com%2F&_id=XXXXXXXXX&_idts=XXXXXXXX&_idvc=1&_idn=1&_refts=XXXXXXXX&_viewts=XXXXXXXX&_ref=https%3A%2F%2Fwww.2FXXXXX.com%2F&pdf=1&qt=1&realp=0&wma=0&dir=1&fla=1&java=1&gears=0&ag=1&cookie=1&res=1366x768&gt_ms=688 HTTP/1.1" 500 338 "https:/XXXXX.com/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36"

The corresponding PHP fatal exception in the logs is:

PHP Fatal error: Call to undefined method Piwik\Tracker\Db\Pdo\Mysql::getProfiler() in /var/www/piwik_2.4.0/core/Db.php on line 131

Any ideas? It doesn't seem to always occur... and when I manually hit the same URL I get a code 200 so hard to reproduce..

@mattab mattab added this to the 2.5.0 - Piwik 2.5.0 milestone Jul 8, 2014
@mig5
Copy link

mig5 commented Jul 8, 2014

Let me know if I can provide any further debug on this. Thanks!

@mig5
Copy link

mig5 commented Aug 7, 2014

This is still affecting me on 2.4.1 about 8 to 10 times a day - so far I cannot detect any common pattern that triggers this 'profiler', and whenever I try and hit exactly the same request that triggered it, I get a 200 OK. Is there any more info I can provide?

@mig5
Copy link

mig5 commented Oct 21, 2014

This doesn't appear to occur since upgrade to Piwik >= 2.8

@mattab
Copy link
Member Author

mattab commented Oct 21, 2014

Thanks for update.

@mattab mattab closed this as completed Oct 21, 2014
@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Oct 21, 2014
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. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants