Closed (duplicate)
Project:
Diff
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 20:02 UTC
Updated:
26 Feb 2009 at 15:41 UTC
with both location and diff module. and when I run a diff on two different revisions of a node I receive the following error
warning: Missing argument 3 for location_diff() in /var/www/vhosts/nafof.org.uk/httpdocs/sites/all/modules/location/location.module on line 1345.
hope this helps.
Richard
Comments
Comment #1
akahn commentedI'm experiencing something similar. The error I get is:
Fatal error: Cannot use object of type stdClass as array in /mnt/internetforeveryone.org/sites/all/modules/location/location.module on line 1436The function that line is from is:
The line in question is
unset($location[$k]);Richard, what version of Location are you using? I'm using 3.0. And I'm doing this on a content type that doesn't use location.
(Raising this to critical since Location is a fairly common module and this breaks diff.)
Comment #2
akahn commentedThis is a duplicate of #350842: [master]Error related to location_diff() when trying to show diff between revisions
And is already fixed in 3.x-dev, and will likely be in the next stable release.