Okay, I've just had it again, when adding new snippets to the site.
This time i've downloaded the cache snippet in question before I cleared the cache. It seems to happen when adding things to the installation, like new snippets.
Parse error: syntax error, unexpected '<' in \core\cache\includes\elements\modsnippet\50.include.cache.php on line 511
I have the metaX plugin installed on the revo installation. It generates extended metatags for each page. It is only a simple snippet which you place in your template, which I had renamed and included extra code in. Just opened the 50.include.cache.php and noticed my metaX snippet is included TWICE in there?
50.include.cache.php has the following on and around line 511:
}
<?php
function elements_modsnippet_50($scriptProperties= array()) {
This is exactly the same as what appears on line 1 in the same cached file.
Why is this particular snippet repeating itself twice in here?
Is it something to do with caching and the way the snippet is called:
I have a chunk in the template being called:
This chunk is then calling the metaX snippet within it like so: