We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12725
    • 11 Posts
    Has anyone else had trouble with the HyperFlexSearchForm snippet? I am using the latest release of ModX, and had previously used the Flex Search Form on my site. When browsing the repository, I noticed the new HyperFlexSearchForm and installed it to try it out.

    I have tried configuring the snippet to show the results on a new page, as well as the "current" page, and each time I get the following error:

    « 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/uname/public_html/manager/includes/document.parser.class.inc.php(705) : eval()'d code	 
      Line: 	690	 
     
    Parser timing
      MySQL: 	0.0052 s s	(4 Requests)
      PHP: 	0.1250 s s	 
      Total: 	0.1302 s s


    I tried re-uploading the document.parser.class.inc.php file, thinking perhaps it was corrupted. No luck. The snippet is unmodified. I can’t for the life of me figure out what the problem is. Any help would be greatly appreciated. Thanks!