We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 742
    • 12 Posts
    I have been working on this for about an hour and I can't figure it out. The site was running slow, I cleared the cache, then this happened:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Invalid argument supplied for foreach()
    Error type/ Nr.: Warning - 2
    File: /home/content/15/5161115/html/manager/includes/document.parser.class.inc.php
    Line: 1216
    Line 1216 source: foreach ($this->documentMap as $mapEntry) {

    Parser timing
    MySQL: 0.0326 s (10 Requests)
    PHP: 12.6237 s
    Total: 12.6562 s [ed. note: ajp1126 last edited this post 14 years, 9 months ago.]
      • 742
      • 12 Posts
      I was still able to get into the manager and I went in and clicked on the "Clear Cache" button. When I cleared the cache originally, I deleted files from the Cache folder.

      THIS IS SOLVED.