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?

  • did you clear the cache – Magento 2 Sep 15 '15 at 13:42
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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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