Error when cache is enabled: [an error occurred while processing this directive]
-
Hi Emra
URL: https://www.encontrapinheiros.com.br/pinheiros/largo-da-batata-em-pinheiros/
When I activate the WPFC plugin and access a page to generate the cache, it is generated with an error message in some parts of the code:
[an error occurred while processing this directive]
For example, look at these 2 places:
1) on the left side of the search widget at the top of the sidebar: you will see the beginning of the error message: [an2) end of page
When I am logged in, and thus I view the page WITHOUT the cache, the error does not appear, and thus I was able to identify what is being misinterpreted.
This error appears in place of HTML comment tags that have specific content:<!–#sidebar–> (First occurrence of error)
<!–#page–> (Second occurrence of error)
<!–#site-footer–> (Third occurrence of error)Note: Looking at the source code of the URL that I sent, typing “Ctrl + F” and looking for the error message, you will see 3 occurrences of it. The error messages are in place of each of the above tags.
Only comments that have the hashtag as the first character give an error in the cached version of the page.
I would like to avoid removing these tags from the source code of the template because I update the version of it frequently, and would always have to remove the tags, which is not interesting.
Could you check please?
Thank you!The page I need help with: [log in to see the link]
- The topic ‘Error when cache is enabled: [an error occurred while processing this directive]’ is closed to new replies.