Search code examples
phpmodx

How to find modx snippet for cache?


Modx generate error in log. How to find original snippet in modx administation panel?

[2019-01-18 13:30:25] (ERROR @ ../site/core/cache/includes/elements/modsnippet/105.include.cache.php : 26) PHP warning: Invalid argument supplied for foreach()


Solution

  • modsnippet/105.include.cache.php : 26

    This is the key - please open snippet with ID=105 and find row № 26

    In other words you need /manager/?a=element/snippet/update&id=105