Title: Error on Multisite Install
Last modified: August 30, 2016

---

# Error on Multisite Install

 *  Resolved [undergroundnetwork](https://wordpress.org/support/users/undergroundnetwork/)
 * (@undergroundnetwork)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-on-multisite-install/)
 * Hi, I installed your plugin on a single site (that happens to be on a multi-site
   network) and there is a 502 error that specifically is created by your plugin
   where I had to remove it because it kills the whole main site for anyone that
   is logged in.
 * Here is the dialog from tech support at my hosting company:
 * > Thanks so much for your patience on this issue. I’ve found the cause of the
   > 502 to be the following plugin:
   > wp-users-media
   > I ran an strace on the 502 and found this:
 * `16:45:05 write(850, "\306\3SELECT option_value FROM wp_23_options WHERE option_name
   = 'wpusmeadminself' LIMIT 1 /* From [xxxxxxxxx.net/] in [/xxx/xxx/xxx/xxxxxxxxxx/
   wp-content/plugins/wp-users-media/index.php:132] */", 202) = 202`
 * > I then searched the options table of site ID 23 for the option name of wpusmeadminself
   > and found no records. So it’s trying to query data that isn’t present which
   > causes it to error out.
   > I disabled that plugin and the 502 errors went away.
 * Can you guys look into fixing that? I love the plugin!
 * Thanks so much!
 * [https://wordpress.org/plugins/wp-users-media/](https://wordpress.org/plugins/wp-users-media/)

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

 *  Plugin Author [Stanislav Khromov](https://wordpress.org/support/users/khromov/)
 * (@khromov)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-on-multisite-install/#post-6807930)
 * Hey undergroundnetwork,
 * Does the issue affect only site 23 or also other sites on the network?
 * The line in question is a call to `get_option()`, which is a native WordPress
   function and should not error out in this way. Do you have any way to check error
   logs to see the accompanying PHP error that is thrown? Would be much appreciated.
 * Thanks for the bug report!
 *  Thread Starter [undergroundnetwork](https://wordpress.org/support/users/undergroundnetwork/)
 * (@undergroundnetwork)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-on-multisite-install/#post-6807944)
 * It actually only affects the MAIN site when creating any new site. If I make 
   an admin like myself a member of the new site (23 in this instance), then I can
   no longer even look at the main site anymore.
 * Let me look for PHP errors.
 * OK.. created the site, got a 502 error right away (which is what happens), but
   it doesn’t show me any php errors (for some reason), so there is nothing I can
   show you. That’s why I had to go with the sysadmins on this one.
 * I got locked out of my main site again, and had to rename the wp-users-media 
   folder to get back in and delete the new site.
 * It only seems to be a problem when I am CREATING a new site. If I create a site
   with WP-Users-Media off, the site creates properly, and then I can turn it back
   on afterwards and things are fine.
 * Sorry, I wish I could tell you more.
 * Charles
 *  Plugin Author [DamirCalusic](https://wordpress.org/support/users/webkreativ/)
 * (@webkreativ)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-on-multisite-install/#post-8303411)
 * Hi undergroundnetwork,
 * Can you test the new version of the plugin (4.0.0)?
    Do you still get an error?

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

The topic ‘Error on Multisite Install’ is closed to new replies.

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

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [DamirCalusic](https://wordpress.org/support/users/webkreativ/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/error-on-multisite-install/#post-8303411)
 * Status: resolved