Closed (duplicate)
Project:
Advanced Forum
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2011 at 11:15 UTC
Updated:
14 Nov 2011 at 10:59 UTC
While Signature for Forums is enabled and one attempts to display a forum post the following error message is raised:
PHP Fatal error: Call to undefined function signature_forum_get_signature(
) in /var/www/html/cm7/sites/all/modules/advanced_forum/includes/advanced_forum_preprocess_node.inc on line 95, referer: http://www.xxxx.yyy/cm7/de/forum/250
On this site also Advanced Forum 7.x-2.0-beta1 is installed.
Is the name of this function misspelled?
Comments
Comment #1
Niklas Fiekas commentedThanks for reporting this. When I removed the function I wasn't aware that Advanced forum relies on it. module_exists() indicates almost always that there is something wrong^^.
Comment #2
GStegemann commentedYou,re welcome.
Are you going to re-add the function?
Comment #3
Niklas Fiekas commentedEither so or fix advanced forum in another way. I am not sure, yet. I think I'll have time to test it later today.
Comment #4
Arekay commentedSub
Comment #5
Niklas Fiekas commentedPlease stop subscribing, start following. But thanks for reminding me that this issue still must be solved ;)
Comment #6
liam mcdermott commentedI haven't really looked at this, but my instinct is to post a patch to Adv. Forum. Wonder if it even needs all that stuff just for Signatures for Forums. :/
Comment #7
Freso commentedI made a bug report with Advanced Forum too: #1340512: Fatal error: Call to undefined function signature_forum_get_signature()
Comment #8
Freso commentedHm. Reading over the code, it seems the proper way to add signatures now is... to let Drupal's node system add them on its own, in which case signature_forum hooks into it? Is that right? So advanced_forum should really just not try and call signature_forum at all? Let me know if I'm correct, as a patch for this would be trivial.
Comment #9
Niklas Fiekas commentedYes. Exactly. At least it should work like that.
Comment #10
troky commentedIt is AF bug. Using some old code from 6.x. Leftovers removed and Drupal core is handling signatures now.
Patch submitted to #1340512: Fatal error: Call to undefined function signature_forum_get_signature().