I have a weird problem that the cache won’t be cleared. It all began since I added a template file “field–custom-field-name.tpl.php”. The field is attached on user entity type.
I put var_dump(get_defined_vars())
to output the available variables that I could use. I modified the file to begin using some of the variables, and cleared the cache. I found that the page is still showing var_dump output.
I tried:
- Clearing the cache under performance tab
- Disabling/Enabling themes
- Emptying the cache* tables in database
- Renaming the field template file
- Deleting the field template file
I don’t have Drush, though.
The page just doesn’t go back to normal; it just keeps showing the var_dump()
output.
How can I fix this?
-Update- admin/reports/dblog has nothing useful, clearing cache has no error output. To me it’s like it doesn’t remove the var_dump call from cache when I remove/update that field template, and it sticks to somewhere permanently.
I’ve also checked every file in the same folder, not var_dump or output statements found.
Could it be a bug of drupal cache?
Sponsored by SupremePR