1

I have template path hints turned off but some modules have the template path hints still around them. Weirder still if I go to another page on the site it comes up with path hints for parts that wouldn't have the hints on other pages.. anyone experienced this?

1
  • did you clear the cache
    – Magento 2
    Commented Sep 15, 2015 at 13:42

1 Answer 1

6

Most probably those blocks are cached.
You turned on the template path hints, the cache was clear, called a page and some blocks got cached.
Then you disabled the template path hints but you did not clear the cache and some blocks still return the cached HTML containing the template path hints.
Unfortunately the flag for template path hints is not included in the cache key of the blocks.
Conclusion: Clear the cache.

3
  • Ok, I'll do that, though why would it only do it now when I've been doing this for a few weeks now? Commented Sep 15, 2015 at 13:53
  • It worked :) thank you, though I'd still like to know why it randomly choose today to cache it? Commented Sep 15, 2015 at 13:55
  • Maybe the cache expired when you did this and the new cache was created.
    – Marius
    Commented Sep 15, 2015 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.