Closed (fixed)
Project:
Drupal Commons
Version:
7.x-3.x-dev
Component:
Radioactivity
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2015 at 10:43 UTC
Updated:
23 Jun 2015 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
stiml commentedFix
Comment #2
gbaudoin commentedWith radioactivity 2.10
Comment #3
devin carlson commentedThanks for the patch!
Tested and committed to Commons 7.x-3.x.
Comment #6
eleuthere commentedHi,
I use commons-7.x-3.26 with Radioactivity 7.x-2.10 I had the following error while publishing a post in a group :
"Warning: Missing argument 8 for RadioactivityIncident::__construct(), called in xxx/profiles/commons/modules/commons/commons_radioactivity/commons_radioactivity.module on line 110 and defined in RadioactivityIncident->__construct() (line 19 of xxx/profiles/commons/modules/contrib/radioactivity/includes/RadioactivityIncident.inc).
Notice: Undefined variable: floodProtected in RadioactivityIncident->__construct() (line 28 of xxx/profiles/commons/modules/contrib/radioactivity/includes/RadioactivityIncident.inc).
- See more at: yyy?qt-commons_bw=commons_all#sthash.N9gkftrT.dpuf"
I applied the patch :
# cd patch directory
# wget https://www.drupal.org/files/issues/'compatibility radioactivity 7.x-2.10-2499515.patch'
# cd (site root dir)/profiles/commons
# patch -p1 < (site directory path)'compatibility radioactivity 7.x-2.10-2499515.patch'
patching file modules/commons/commons_radioactivity/commons_radioactivity.module
patching file plugins/geocoder_handler/exif.inc
The error message disappears.
Nevertheless, radioactivity calculation seems out of order. The original Commons "Most active groups" view doesn't show new groups nor newly contributed ones.