When I turn caching on, I recieve the following message ...

Fatal error: Call to undefined function arg() in liquid.module on line 116

Using Drupal 4.7, IIS, PHP 5.x, MySQL

Comments

moshe weitzman’s picture

fyi, this is a bug in hook_init(). the module is using functions from files that are not included yet. You have to be very careful what you use in hook_init() when page caching is enabled. i can answer specific questions on this as needed.

What does it mean’s picture

Thank you Moshe for that answer, which has also seemed to cure my problems posted earlier.

My only question would be: is this something which is likely to be cured in due course, so that there will be the ability to run the wiki and cache together?

Many thanks for all the good work.
John

moshe weitzman’s picture

yes, it probably will be fixed in due course. not sure how actively this module is maintained though. ask the maintainer what his plans are.

matt_paz’s picture

I'm not sure what, if any, unintended consequences might be, but I hacked this module to add a condition to check function_exists('arg') at line 116 and it seems to work fine now.

http://drupal.org/node/53720

sorenp’s picture

Status: Active » Fixed

This has been fixed in the dev-5.1 version (not the release)

Thanks for pointing it out!

sorenp’s picture

Status: Fixed » Closed (fixed)