FAQ Item

« Return to FAQ database

Invalid argument foreach ...

Go to Appearance > Editor and open the file called dtbaker.widget.php by clicking it on the right hand side.

Scroll to the bottom of the file where it has this line of code:

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

remove this line of code and save the file.