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
Actions plugin: cannot use object of type Piwik_DataTable_Row as array #1082
Comments
(In [1721]) Refs #1082 Fixes error Actions plugin: cannot use object of type Piwik_DataTable_Row as array |
I have still this problem witch newer version: /www/piwik/misc/cron/archive.shFatal error: Cannot use object of type Piwik_DataTable_Row as array in /www/piwik/plugins/Actions/Actions.php on line 385 |
I added some test lines:
And script return:
|
Ok, We find solutions, here is patch:
|
That should catch the bad data not handled by [1372]. However, we still need to determine the root cause for the bad data. |
(In [1754]) refs #1082 - catch other cases of bad data |
Dear users, do you still experience the issue in 0.5.4? |
problem still exists in 0.5.4, problem is that I wasn't able to replicate it yet. |
suddenly, since two days, I got the same issue on archiving: Fatal error: Cannot use object of type Piwik_DataTable_Row as array in /home/myphorum/tracking-host/www/plugins/Actions/Actions.php on line 385 Fatal error: Cannot use object of type Piwik_DataTable_Row as array in /home/myphorum/tracking-host/www/plugins/Actions/Actions.php on line 385 Fatal error: Cannot use object of type Piwik_DataTable_Row as array in /home/myphorum/tracking-host/www/plugins/Actions/Actions.php on line 385 No more stats updates with that :-/ on 0.5.4. |
Also suddenly since January 16th I get the error It appears on archiving and only on the site with the 1st id on
The error occurs on Actions only when the date is set to January 16th. There is no error on January 17th. I copied the database to another server and there is the same mistake. So there were written wrong information into the database on January 16th? |
deactivating and reactivating "actions" in "Plugins Management" panel fixed this error at my site. |
That didn't help for me.
|
Its a little strange. Deactivated and reactivated the actions plugin some days ago on my testserver with the copied data and it didnt work. After doing this today, it works excepting that there is 'no data for this table' in the action plugin on January 16th. |
users who experience the issue, can you please apply the modifications in: http://forum.piwik.org/index.php?s=&showtopic=2971&view=findpost&p=13161 and attach the output error message to this ticket? this will help me find how to replicate and fix it. thanks |
@ts77: That didn't work for me.
After de- and reactivating the action plugin (it worked fine excepting actions on Jan 16th) I deleted the two tables archive_blob_2010_01 and archive_numeric_2010_01 and the error appeared again. The error disappeared after I de- and reactivated the action plugin again. |
Finally got that issue again. Let me know how to continue here as my stats are down until I remove the "die" ;). |
Attachment: |
I've this problem too. |
I might be mad for it, but, ... any update? |
Spontaneously the error occured again yesterday. Hope that deactivating and activating the action plugin fixed it... |
Yesterday the error again. This case should be cleared as fast as possible, because
|
and now that the later one (in line 385) is "handled" or better just ignored I got a similar one some lines up: |
Meanwhile error 367 appears almost every day. After deactivating the action-plugin, executing the archive.sh and activating the action-plugin it works. Problem is, that there is 'no data' in the action-plugin but not only for the site with id=1 but also for all other sites! The problem should be immediately solved. Can I help you localize the mistake? Is there a difference between the workaround-order?
|
maze, I agree and was about to post the same. |
Yes, that patch works. (Thank you ts77, don't know why I haven't tried this before.) But the error is only masked with that patch. We analyse our websites so that we display the page views in a hierarchical order. On these days where the 'error appears' only the first hierarchy is displayed. It's better than the error message before - but not perfect, because for our analysis we need every part of our page views displayed in the hierarchy. And the former days where the error appeared are still display 'no data'... |
(In [1898]) Refs #1082 |
Hello Guys, |
Good catch, Matt! |
Hey Matt, thank you for your help. Just patched the file. Now I have to wait and see if the error occurs in the next days. I still have the problem that, on the days where the error occured before, I have 'no data' or no hierarchical order. Would it be helpful to delete the archiving-tables for the mentioned days and run archiving.sh again? |
I had the same Error Message. Examining the Data turn out that there are 3 Different scenarios where it happens So i changed the File piwik/plugins/Actions/Actions.php
This fixed the Problem for me. |
Nifty, instead of your patch, can you try the official patch in http://dev.piwik.org/trac/changeset/1898 ? This is the one that will make it in 0.5.5 if I don't hear from more users... thanks |
Matt, This are the changes i had to implement to get it up and running.
|
Nifty, could you try the patch? It might not work, in that case I will work on it more, but I need to know, thx (your solution is not desirable as it deals with special cases and we need to solve this problem in a more generic way) |
Hey matt, three days without an error. Your patch seems to work! :) |
Closing for now.. if anyone still experiences issues after applying the patch in [1898] please let us know |
http://forum.piwik.org/index.php?showtopic=2971&view=findpost&p=10951
IchBins reports:
The text was updated successfully, but these errors were encountered: