Since this patch went into the dev branch, I get the following error message when trying to clear cache's on my development environment (where I don't have Varnish setup).
Exception: Invalid or missing cache bin specified: <em class="placeholder">external_varnish_page</em> in DrupalDatabaseCache->clear() (line 516 of /path/to/mysite/includes/cache.inc).
My setup is that I have different settings.php files for production/staging/development environments.
I have only been including the necessary Varnish config on my production and staging settings.php, and development would work gracefully without it. But now that we have a varnish_flush_caches(), we're getting trouble.
Comment | File | Size | Author |
---|---|---|---|
#2 | varnish-fix-hook_flush_caches-running-2160451.patch | 824 bytes | Leon Kessler |
Comments
Comment #1
Leon Kessler CreditAttribution: Leon Kessler commentedComment #2
Leon Kessler CreditAttribution: Leon Kessler commentedComment #3
Leon Kessler CreditAttribution: Leon Kessler commentedComment #4
lauriiiThe patch applies and works
Comment #5
mgiffordLooks like a simple enough change. Glad to see it works against the dev version.
Comment #6
MiSc CreditAttribution: MiSc commentedTested and reviewed.
Comment #7
helmo CreditAttribution: helmo commented+1, fixes the error
Comment #8
Schnitzel CreditAttribution: Schnitzel commented+1
Comment #9
JeremyFrench CreditAttribution: JeremyFrench commentedThanks all, this is committed