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.

CommentFileSizeAuthor
#1 db_missing_argument_fix.patch366 byteslealex

Comments

lealex’s picture

StatusFileSize
new366 bytes

Replace

function flush($flush) {

with

function flush($flush = NULL) {

in db.php

marcus0263’s picture

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

lealex’s picture

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

slantview’s picture

Status: Active » Fixed

This is now fixed.

Status: Fixed » Closed (fixed)

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