Title: error code in one subsite
Last modified: October 11, 2016

---

# error code in one subsite

 *  Resolved [wph4](https://wordpress.org/support/users/wph4/)
 * (@wph4)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-code-in-one-subsite/)
 * Hi,
 * Thanks for this plugin. really useful!
 * I have free version installed in a multisite. It is network activated.
 * Only one of the subsites gets error messages:
 * Warning: Invalid argument supplied for foreach() in /public/sites/www.mysite.
   com/wp-content/plugins/wp-edit/main.php on line 506
 * Warning: Invalid argument supplied for foreach() in /public/sites/www.mysite.
   com/wp-content/plugins/wp-edit/main.php on line 515
 * also for line 2846 and 392 as far as I can see.
 * How can I get ride of the error messages?
 * Thanks

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

 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-code-in-one-subsite/#post-8278708)
 * Hello,
 * Thank you for the kind words. Please feel free to provide a rating if your time
   permits.
 * Also thank you for the feedback. I wasn’t aware of these warnings on a multisite
   install. However, the free version doesn’t fully support multi-site installs.
   If you would like far more advanced features for managing multi-sites installs;
   please feel free to check out the pro version.
 * I have just tested the free version on a multisite install, and do indeed see
   the warnings. I just fixed them; and will get the plugin updated in the next 
   day or two.
 * Thanks again for your time.
 *  [Bob Hollis](https://wordpress.org/support/users/bobhollis/)
 * (@bobhollis)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-code-in-one-subsite/#post-8435725)
 * I am having the same challenge with WP-Edit in a multisite installation.
 * Warning: Invalid argument supplied for foreach() in /home/…/public_html/…/wp-
   content/plugins/wp-edit/main.php on line 2846
 * When I Googled the issue I saw dozens of other sites with the same invalid argument
   on line 2846 but have been unable to find the solution.
 * I am using the current version of WP-Edit.
 *  Thread Starter [wph4](https://wordpress.org/support/users/wph4/)
 * (@wph4)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-code-in-one-subsite/#post-8436205)
 * Hi,
 * The solution for me was/is to activate the plugin site by site or better subsite
   by subsite.
 * Not network activation, but per (sub)site.
 * success.
 *  Thread Starter [wph4](https://wordpress.org/support/users/wph4/)
 * (@wph4)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-code-in-one-subsite/#post-8436206)
 * Thanks [@josh](https://wordpress.org/support/users/josh/),
 * It is working very well.
 * Cheers!

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

The topic ‘error code in one subsite’ is closed to new replies.

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

## Tags

 * [invalid argument](https://wordpress.org/support/topic-tag/invalid-argument/)

 * 4 replies
 * 3 participants
 * Last reply from: [wph4](https://wordpress.org/support/users/wph4/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/error-code-in-one-subsite/#post-8436206)
 * Status: resolved