Title: Error on loading plugin page foreach(glob
Last modified: August 22, 2016

---

# Error on loading plugin page foreach(glob

 *  Resolved [baystranger](https://wordpress.org/support/users/baystranger/)
 * (@baystranger)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-on-loading-plugin-page-foreachglob/)
 * PHP Warning: Invalid argument supplied for foreach() in <Path on Server>\wp-content\
   plugins\wp-advanced-importer\lib\skinnymvc\controller\base\SkinnyBaseController.
   php on line 304
 * Line 304: foreach(glob($pattern) as $class_filename) {
 *  private function require_once_many($pattern)
    { foreach(glob($pattern) as $class_filename){
   require_once($class_filename); } }
 * I am running WP on Windows Server. with PHP 5.2x
 * [https://wordpress.org/plugins/wp-advanced-importer/](https://wordpress.org/plugins/wp-advanced-importer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Smackcoders Inc.,](https://wordpress.org/support/users/smackcoders/)
 * (@smackcoders)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-on-loading-plugin-page-foreachglob/#post-5382650)
 * We are trying to reproduce the issue in our test instance. Will update you the
   status here.
 *  Plugin Author [Smackcoders Inc.,](https://wordpress.org/support/users/smackcoders/)
 * (@smackcoders)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-loading-plugin-page-foreachglob/#post-5382900)
 * New version 2.0 is available now. Kindly upgrade the plugin to get this fixed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error on loading plugin page foreach(glob’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-advanced-importer_89c4dd.svg)
 * [WP Advanced Importer](https://wordpress.org/plugins/wp-advanced-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-advanced-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-advanced-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-advanced-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-advanced-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-advanced-importer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Smackcoders Inc.,](https://wordpress.org/support/users/smackcoders/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-loading-plugin-page-foreachglob/#post-5382900)
 * Status: resolved