My site is running Drupal 5.16 with Location 5.x-3.0 and Diff 5.x-2.1.
When I try use diff with two revisions of a node (which dont't have locations enabled) I get a white page and an error text: "Fatal error: Cannot use object of type stdClass as array in xxx/sites/all/modules/location/location.module on line 1412".
I've tried using diff with other nodes as well, but they don't work either.
Any idea how to fix this?
Comments
Comment #1
yesct commenteddoes diff work when you dont have location on your site? I would guess yes, but might be a good sanity check.
Also, maybe if you copied some of the code from around line 1412 and posted a similar request (with a link to this issue) in the diff, forum, maybe someone familiar with diff would spot the problem in the location code?
tagging
Comment #2
alan d. commentedSee #350842: [master]Error related to location_diff() when trying to show diff between revisions
There really needs to be a release published of the next version with this fix. Diff is a fairly core module on bigger sites and having to run the dev version is less than ideal.