Download & Extend

getting some warnings on "db" mode

Project:Cache Router
Version:6.x-1.0-beta8
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi, getting warnings in some administration pages, for example in "Modules" page.

* warning: Missing argument 1 for dbCache::flush(), called in /var/www/vhosts/topp.lt/httpdocs/sites/all/modules/cacherouter/CacheRouter.php on line 57 and defined in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/cacherouter/engines/db.php on line 83.
* warning: Missing argument 1 for dbCache::flush(), called in /var/www/vhosts/topp.lt/httpdocs/sites/all/modules/cacherouter/CacheRouter.php on line 57 and defined in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/cacherouter/engines/db.php on line 83.

Comments

#1

Replace

function flush($flush) {

with
function flush($flush = NULL) {

in db.php
AttachmentSize
db_missing_argument_fix.patch 366 bytes

#2

I applied the patch but Cache Router does not appear in my Admin > Site Config.

#3

Cache Router hasn't a admin interface, you must configure the module in the settings.php file.

#4

Status:active» fixed

This is now fixed.

#5

Status:fixed» closed (fixed)

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

nobody click here