We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33028
    • 1 Posts
    Hi, I’m working in a webhosting company, ’till the summer holidays.
    I got a mission to make Kiwee work in MODxCMS.
    Now I have this:
    « 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/admin/Documents/modxs/assets/snippets/shoppingCart/kiwee.class.php	 
      Line:	139	 
      Line 139 source:	 foreach($currencies as $var => $value){	 
     
    Parser timing
      MySQL:	0.0092 s	(4 Requests)
      PHP:	0.1551 s	 
      Total:	0.1643 s	 

    So, how do I solve this?
    It originally had another errour at the same page, but I’ve already solved that one.
    Now I want to solve this one.