Closed (fixed)
Project:
Abuse
Version:
5.x-1.0-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 May 2008 at 22:55 UTC
Updated:
3 Sep 2010 at 20:17 UTC
Jump to comment: Most recent file
I will explain my situation. I was using abuse module, the previous version. I just upgraded to version 28-03-08, and now, if I try to remove posts using the "delete button" that is in every comment, I just receive the error:
Fatal error: Cannot use object of type stdClass as array in /.../drupal/sites/all/modules/abuse/abuse.module on line 369
The comment is deleted, but if it has some replies, only the coment is deleted (with the previous version of abuse module, all was ok, there was no error and we could delete the comment and all its replies at once, so Im sure that its something related to latest version of abuse module).
Thanks for your great work coder, this is a must have module.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | abuse.module.255972.patch | 945 bytes | jaydub |
Comments
Comment #1
DNM-1 commentedI get this same issue
I get this when I try to delete a comment. It deletes the comment but gives this error instead of the confirm screen...
Fatal error: Cannot use object of type stdClass as array in /home/*/public_html/*/sites/all/modules/abuse/abuse.module on line 369
mods installed are:
Drupal 5.7
abuse 5.x-1.0-beta
CAPTCHA 5.x-3.1
Fivestar 5.x-1.12
Panels 5.x-2.0-beta3
Pathauto 5.x-2.2
Token 5.x-1.11
Update Status 5.x-2.2
User Stats 5.x-1.0-beta3
Views 5.x-1.6
Voting API 5.x-1.6
not sure which one might of caused it cause I just installed abuse last.
Comment #2
btmash commentedI've not looked at the 5.x branch of abuse in a long time - I'll make some time for it this week to try and figure out what exactly what might be causing the issue.
Comment #3
jaydub commentedplease try out this patch
Comment #4
unicorn84 commentedall ok now, thanks a lot jaydub.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
MGParisi commentedHas this been implimented? Sorry to re-open, but is it in the dev version? is the dev version stable? If its stable, why dont we have a 1.0 version (no Beta). Only the first question matters!
Edit: I have upgraded to dev and then disabled this add on. I have been getting the "Validation error, please try again. If this error persists, please contact the site administrator". And no the module does not include the patch or the patch does not fix the delete a comment issue.
Comment #7
MGParisi commentedThis patch has not been applied to the Dev Version of Abuse!
Comment #8
roychri commentedThis patch has been commited to the DRUPAL-5 branch.
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/abuse/abuse...
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #10
quiquee commentedThe patch works, thanks!