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
Error in Archivejob: Adding a subtable to the row, but it already has a subtable associated #4528
Comments
Thanks for the report. can you add debug_print_backtrace(); Then to temporarily hot fix the issue simply comment out the throw new exception line. |
|
@sh_28 thanks for this, unfortunately the error message was only partial. can you please open the URL http://xxx.yyy.com/index.php?module=API&method=VisitsSummary.getVisits&idSite=6&period=year&date=last4&format=php&token_auth=c8b5f7df73cd9cd49f9b0cca2e0728b8&trigger=archivephp (after making the patch) and copy paste the full output that is displayed there? please post it on pastebin.com seeing the full error will help us understand what code triggers this error. Then I think we can fix it by adding a catch block at the right place. btw Do you use any custom plugin? |
We are not using custom plugins. |
That's not the error message but just a valid API response. If you have the full error message once more, please post it here! |
I have the same problem, here's the pastebin: http://pastebin.com/0CrMuTwF |
It was also reported in #5087 - increasing priority |
same problem here. pastbin: http://pastebin.com/Y9hyzu2w |
@mattab: we were able to reproduce this issues several times (mostly on bigger instances - about 200k visits daily). |
@quba added a tag |
still cannot reproduce the issue unfortunately, so it's tricky to fix that one :( |
Note to self: when users report info on pastebin. copy to ticket as pastebin expire after a while 👎 |
Hi,
my archivejob ist not working with several sites: (only the large sites?)
Error: Got invalid response from API request: http://xxx.yyy.com/index.php?module=API&method=VisitsSummary.getVisits&idSite=6&period=year&date=last3&format=php&token_auth=c8b5f7df73cd9cd49f9b0cca2e0728b8&trigger=archivephp. Response was 'a:2:{s:6:"result";s:5:"error";s:7:"message";s:71:"Adding a subtable to the row, but it already has a subtable associated.";}'
1 total errors during this script execution, please investigate and try and fix these errors
Piwik Version 2.0.3
PHP 5.4.24-1
Apache error log is empty.
SH28
Keywords: archive job
The text was updated successfully, but these errors were encountered: