Title: Plugin will not activate
Last modified: August 21, 2016

---

# Plugin will not activate

 *  Resolved [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-will-not-activate-2/)
 * An attempt to activate the plugin on the main site results in a 404 error at 
   the following URL:
 * `http://tripawds.net/wp-admin/plugins.php?action=activate&plugin=wpms-network-
   global-inserts%2Fwpms-network-global-inserts.php&plugin_status=all&paged=1&s&
   _wpnonce=164310c045`
 * When trying to network-activate, similar Page Not Found result at:
 * `domain.tld/wp-admin/network/plugins.php?action=activate&plugin=wpms-network-
   global-inserts%2Fwpms-network-global-inserts.php&plugin_status=all&paged=1&s&
   _wpnonce=164310c045`
 * Bummer! Was looking forward to new solution for network-wide header content.
 * WP v. 3.6.1
    Plugin v.0.0.2
 * [http://wordpress.org/plugins/wpms-network-global-inserts/](http://wordpress.org/plugins/wpms-network-global-inserts/)

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

 *  Plugin Author [rubenstorm](https://wordpress.org/support/users/rubenstorm/)
 * (@rubenstorm)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-will-not-activate-2/#post-4138136)
 * It is not to insert header content, it is to insert in your blog posts some content
   like adsens or information…
 * If you have following error:
    Fatal error: Call to undefined function switch_to_blog()
   in …. wpms-network-global-inserts.php on line 201
 * then you dont have a multi site installation of wordpress
 * Look at my blog what it does [ruben-storm.de/blog](http://www.ruben-storm.de/blog)
   
   The new version comming soon, check on github for it [0.0.3](https://github.com/rubenstorm/wpms-network-global-inserts/releases)
 *  Thread Starter [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-will-not-activate-2/#post-4138137)
 * Thanks for the clarification. This comment in your description is misleading:
 * > This plugin is strongly based on the code WPMS Global Content from Neerav Dobaria.
 * Since the WPMS Global Content plugin author says:
 * > WPMS Global Content allow wordpress multisite network admin to set common header
   > and footer content.
 * Regardless, it would not activate on our multiste network with no such error 
   like you describe—just a 404 redirect upon activation.
 * I have moved on to another solution anyway. Thanks for checking in.
 *  Plugin Author [rubenstorm](https://wordpress.org/support/users/rubenstorm/)
 * (@rubenstorm)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-will-not-activate-2/#post-4138142)
 * > This plugin is strongly based on the code WPMS Global Content from Neerav Dobaria.
 * Yes, i wrote that note into it because the base code is from this project and
   i kept on changing it. I did not just want to change it and not telling people
   that Neerav Dobaria is the developer from the base source i used.
 * Time by time it will change tho and walk away from the mother source
 *  Plugin Author [rubenstorm](https://wordpress.org/support/users/rubenstorm/)
 * (@rubenstorm)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-will-not-activate-2/#post-4138143)
 * > Regardless, it would not activate on our multiste network with no such error
   > like you describe—just a 404 redirect upon activation.
 * This is something i can not explain, i have it installed on 3 different WordPress
   installation and dont have this problem.
 * The only time i had an error and it would not activate it was when i was testing
   what happen on a single, not multi site, installation.
 * Maybe you could send me the link it has when you get the error. just everthing
   behin [http://www.domain.tld](http://www.domain.tld)
 *  Thread Starter [agreda](https://wordpress.org/support/users/agreda/)
 * (@agreda)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-will-not-activate-2/#post-4138145)
 * > Maybe you could send me the link it has when you get the error.
 * See my first post intheis topic.
 * I’ve found another solution that meets our needs, so I have no need to activate
   this plugin now. Thanks for following up.

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

The topic ‘Plugin will not activate’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpms-network-global-inserts.svg)
 * [WPMS Network Global Inserts](https://wordpress.org/plugins/wpms-network-global-inserts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpms-network-global-inserts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpms-network-global-inserts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpms-network-global-inserts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpms-network-global-inserts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpms-network-global-inserts/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [agreda](https://wordpress.org/support/users/agreda/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-will-not-activate-2/#post-4138145)
 * Status: resolved