We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22757
    • 41 Posts
    I have the fallowing code (simplified)
    [[!setSomePlaceholders]]
    Try cached: [[accessPlaceholders]]
    Try uncached: [[!accessPlaceholders]]
    


    If i call "accessPlaceholders" uncached everything works fine. If i try to execute it cached the placeholders are empty. Thats not supposed to happen, or?

    I have Revo 2.0.4.
      • 25663 MODX Staff
      • 12,272 Posts
      Are you caching the placeholder calls? e.g., [[+!my_placeholder]]
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 22757
        • 41 Posts
        Im in a snippet. I’m doing $modx->getPlaceholder(’myplaceholder’);