FAQ Item

« Return to FAQ database

Invalid argument supplied for foreach()

Please go to Appearance > Editor and open the file dtbaker.widgets.php and look for this line of code at the very end:

foreach(glob( dirname(__FILE__)."/widgets/*.php" ) as $filename) include_once($filename);

 

Delete this line of code and press save.