Title: Activation issue on Multisite
Last modified: May 7, 2020

---

# Activation issue on Multisite

 *  Resolved [expectancy](https://wordpress.org/support/users/expectancy/)
 * (@expectancy)
 * [6 years ago](https://wordpress.org/support/topic/activation-issue-on-multisite/)
 * On a multisite, the plugin keeps trying to run the activation on each page load
   after already being activated. Issue appears to be in the `hfcm_db_update_check`
   function:
 * line 70: `if ( get_site_option( 'hfcm_db_version' ) != $hfcm_db_version ) {`
 * line 95: `update_option( 'hfcm_db_version', $hfcm_db_version );`
 * In a normal install I don’t believe their is an issue, but for a multisite it
   needs to be `update_site_option` to work properly, otherwise the `if` conditional
   check never matches when using `get_site_option`.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Support [DraftPress Support Team](https://wordpress.org/support/users/99robotsteam/)
 * (@99robotsteam)
 * [6 years ago](https://wordpress.org/support/topic/activation-issue-on-multisite/#post-12803787)
 * Hello [@expectancy](https://wordpress.org/support/users/expectancy/) – Our team
   will be looking into this, and we will keep you updated with the progress!
 * Thank you for bringing this to our notice

Viewing 1 replies (of 1 total)

The topic ‘Activation issue on Multisite’ is closed to new replies.

 * ![](https://ps.w.org/header-footer-code-manager/assets/icon-256x256.png?rev=2681303)
 * [Header Footer Code Manager](https://wordpress.org/plugins/header-footer-code-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer-code-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer-code-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer-code-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer-code-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer-code-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [DraftPress Support Team](https://wordpress.org/support/users/99robotsteam/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/activation-issue-on-multisite/#post-12803787)
 * Status: resolved