This module doesn't work for me on 2 different drupal installations. On any page I try this module I always get a Fatal error: Class name must be a valid object or a string in [...]/sites/all/modules/page_rebuild_cache/page_rebuild_cache.module on line 131

Both sites run on Drupal 7.19 (multilingual) with clean URLs on.

Comments

design.er’s picture

I can confirm this bug on Drupal 7.19 with i18n installed.
Every time I click on "Rebuild this page's cache" I see a WSOD with the error above posted by "spacebox" and after returning to the page before the WSOD I see the following errors:

Notice: Undefined index: query in page_rebuild_cache_trigger() (line 44 in sites/all/modules/page_rebuild_cache/page_rebuild_cache.module).
Warning: parse_url() expects parameter 2 to be long, array given in page_rebuild_cache_trigger() (line 44 in sites/all/modules/page_rebuild_cache/page_rebuild_cache.module).
Notice: Undefined index: cache_default_class in page_rebuild_cache_init() (line 79 in sites/all/modules/page_rebuild_cache/page_rebuild_cache.module).

But also beneath these errors the message:

Successfully rebuilt cache on this page
phayes’s picture

This is now fixed. Sorry about that.

phayes’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Changed error message quotation