After enablig the module cacheflush_rules in a clean Drupal installation and adding a new rule to clear the cache_id "cache_page" when user created a node, an error page is shown with following message:
Fatal error: Call to undefined function _cacheflush_clear_preset() in /var/www/html/sites/all/modules/contrib/cacheflush/cacheflush_rules/cacheflush_rules.module on line 67
Previous message is shown, because function _cacheflush_clear_preset() is defined inside cacheflush.inc, and called in cacheflush_rules.module (the submodule) without including "cacheflush.inc" with module_load_include.
I've created a patch for that issue.
Comment | File | Size | Author |
---|---|---|---|
#6 | rules-2460951-6.patch | 636 bytes | balintcsaba |
#2 | cron-2460951-2.patch | 541 bytes | balintcsaba |
Comments
Comment #1
balintcsaba CreditAttribution: balintcsaba at REEA commentedHi handrex,
You forgot to add the patch to the comment. If you have, please upload so I can give you credit for the bug fix, otherwise I will fix myself.
Thanks
Comment #2
balintcsaba CreditAttribution: balintcsaba at REEA commentedComment #3
balintcsaba CreditAttribution: balintcsaba at REEA commentedComment #4
balintcsaba CreditAttribution: balintcsaba at REEA commentedComment #5
balintcsaba CreditAttribution: balintcsaba at REEA commentedThe patch at #2 is for Cron
Comment #6
balintcsaba CreditAttribution: balintcsaba at REEA commentedPatch for Rules
Comment #8
balintcsaba CreditAttribution: balintcsaba at REEA commentedComment #9
balintcsaba CreditAttribution: balintcsaba at REEA commented