Closed (fixed)
Project:
Blame
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
10 Mar 2012 at 20:42 UTC
Updated:
10 May 2014 at 00:50 UTC
Jump to comment: Most recent
I'm not sure is this module is being actively maintained. However, when we change permissions at admin/user/permissions and then click save changes we get a page not found error and the watchdog log include shows:
array_diff() [function.array-diff]: Argument #2 is not an array in .../sites/all/modules/blame/blame.module on line 351.
Comments
Comment #1
therealwebguy commentedConfirmed. This will no longer be an issue in the new releases coming out shortly. Versions 6.x, 7.x and 8.x will all insure this issue has been resolved. Changing status to "needs work" and will close when new release is pushed.
Comment #2
therealwebguy commentedComment #3
jyee commentedI've got a fix for this in the 7.x-1.x branch, but it's not a great fix (removes non diff-able items such as objects). I plan to backport it anyway in order to avoid the fatal errors. In theory, all form info is arrays, so removing objects shouldn't be detrimental.
Also note, this is one reason the 7.x-2.x branch doesn't use array_diff().
Comment #4
jyee commentedChanged title to better capture the problem.
Error: Object of class stdClass could not be converted to string
Comment #7
jyee commentedMarking as fixed.