The following error occurs when viewing the recent changes RSS feed after upgrading Diff from 6.x-2.0 to 6.x-2.1:
Fatal error: Call to undefined function _diff_body_rows() in /home/pathtodrupalinstallation/sites/all/modules/recent_changes/recent_changes.module on line 592
I have used the Recent Changes module for years (which depends on the Diff module) with no issues. However upgrading to the new version of diff causes the viewing of the RSS feed to break.
The recent changes module isn't maintained very actively, so I'm raising the issue here in the hope someone can point me to what needs to be changed in the recent_changes.module file based on an understanding of what changed in the new version of Diff.
Summary:
What works:
Drupal 6.20
Diff 6.x-2.0
Recent Changes 6.x-1.x-dev (July 11, 2010)
What doesn't work
Drupal 6.20
Diff 6.x-2.1
Recent Changes 6.x-1.x-dev (July 11, 2010)
I have attached the .module files of the relevant versions.
Thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
relevent files.zip | 18.07 KB | fuzzy_texan |
Comments
Comment #1
ledom CreditAttribution: ledom commentedSolved by adding this into recent_changes.module
module_load_include('inc', 'diff', 'diff.pages');
Before:
After:
Comment #2
itserich CreditAttribution: itserich commentedThank you, #2 works.
Comment #3
Alan D. CreditAttribution: Alan D. commentedWrong queue :)
Comment #4
Alan D. CreditAttribution: Alan D. commentedAnd duplicate of #1121964: Call to undefined function _diff_body_rows()" viewing Recent Changes RSS feed after upgrading to Diff 6.x-2.1