Title: Plugin breaking on WP multisite
Last modified: February 3, 2017

---

# Plugin breaking on WP multisite

 *  Resolved [rd2-d](https://wordpress.org/support/users/rd2-d/)
 * (@rd2-d)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/plugin-breaking-on-wp-multisite/)
 * This plugin is breaking my client’s WP Multisite install. I believe the problem
   stems from incorrect code in the plugin’s index.php file. When it runs the function
   run_db_provisioning(), it calls add_option(); however, when it runs the function
   name_directory_update_db_check() later, it calls get_site_option(), which returns
   false on multisite and causes it to continually call run_db_provisioning(). This
   should work fine on a normal install, but for multisite, it breaks and causes
   504/520 errors. Is there a reason run_db_provisioning() does not use add_site_option()
   instead of add_option() to allow for use on multisite installs?

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

 *  Plugin Author [Jeroen Peters](https://wordpress.org/support/users/jeroenpeters1986/)
 * (@jeroenpeters1986)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/plugin-breaking-on-wp-multisite/#post-8736141)
 * Hi,
 * Thanks for your report. There is no specific reason for that, but I thought I
   tested it on multisite. But I will test it again and change the provisioning 
   according to the right functions. Please stand-by for a fix.
 * Kind regards,
 * Jeroen Peters
 *  Plugin Author [Jeroen Peters](https://wordpress.org/support/users/jeroenpeters1986/)
 * (@jeroenpeters1986)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/plugin-breaking-on-wp-multisite/#post-8737418)
 * It works perfectly on my own multisite. Do you have the versions for me that 
   you and your client are running?
 * In the meantime I will try to improve the code to your suggestions.
 * Kind regards,
 * Jeroen Peters
 *  Plugin Author [Jeroen Peters](https://wordpress.org/support/users/jeroenpeters1986/)
 * (@jeroenpeters1986)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/plugin-breaking-on-wp-multisite/#post-8740252)
 * Hi rd2-D,
 * Thanks again for bringing up the issue. I released v1.7.14 yesterday.
 * I hope you are willing to update and let me know if the issue you were having
   is fixed now.
 * At the time of writing the first verzuim I did not have the correct knowledge,
   Thanks again for enlighting me, I hope it is working again.
 * Please let me know!
 * Kind regards,
 * Jeroen Peters
 *  Thread Starter [rd2-d](https://wordpress.org/support/users/rd2-d/)
 * (@rd2-d)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/plugin-breaking-on-wp-multisite/#post-8741117)
 * Hi,
 * The latest update I’m seeing is v1.7.13, which doesn’t appear to address this
   issue. It might be taking a bit longer for the update to be available on my end,
   but in the meantime, I’ve had to implement my own temporary fix to ensure the
   site isn’t down consistently. I’ll keep an eye out and see if v1.7.14 fixes it,
   when it’s available.
 *  Plugin Author [Jeroen Peters](https://wordpress.org/support/users/jeroenpeters1986/)
 * (@jeroenpeters1986)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/plugin-breaking-on-wp-multisite/#post-8741170)
 * It should be there any minute now 🙂

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

The topic ‘Plugin breaking on WP multisite’ is closed to new replies.

 * ![](https://ps.w.org/name-directory/assets/icon-128x128.png?rev=1008185)
 * [Name Directory](https://wordpress.org/plugins/name-directory/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/name-directory/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/name-directory/)
 * [Active Topics](https://wordpress.org/support/plugin/name-directory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/name-directory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/name-directory/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Jeroen Peters](https://wordpress.org/support/users/jeroenpeters1986/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/plugin-breaking-on-wp-multisite/#post-8741170)
 * Status: resolved