How to install Cookiesplus and Page Cache Ultimate together?
Both modules override the same functions in Hook.php so here is how to make it work:
- disable both modules
- enable Page Cache Ultimate (or Speed Pack) module
- in file /override/classes/Hook.php rename functions "coreCallHook" by "coreCallHookPageCache" and "coreRenderWidget" by "coreRenderWidgetPageCache"
- enable cookiesplus module
- Reload the file /override/classes/Hook.php
- in function coreCallHook, replace "parent::coreCallHook" by "self::coreCallHookPageCache"
- in function coreRenderWidget, replace "parent::coreRenderWidget" by "self::coreRenderWidgetPageCache"
Once done, you cannot disable one of these modules or you will have to perform these steps again.