It took me forever to figure out why the FAQ page suddenly broke for no reason. I had to test the entire module until I finally figured out the problem in the last function I looked at. Line 1055, where the link_alter functions are called is reversed. If one of your modules implements that hook and uses the links in a certain way, the faq page will break (blank white screen). Here is the fix:

In faq.module, line 1055, it says:

	  $function($node, $node->links);

this should be changed to:

	$function($node->links, $node);

That will fix the problem

Comments

HS’s picture

ddyrr,

Do you happen to know which modules conflict with the FAQ module?

ddyrr’s picture

The only one I know for sure is statistics_advanced, but if you look up hook_link_alter, you'll see that it is in the wrong order in the faq module, so it should probably be fixed at some point anyway.

stella’s picture

Status: Needs review » Fixed

Fixed, will be included in the next release.

Cheers,
Stella

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stella’s picture

Released in 6.x-1.8.