Title: [Plugin: Google Content Experiments] Not working?
Last modified: August 20, 2016

---

# [Plugin: Google Content Experiments] Not working?

 *  Resolved [ben_nz](https://wordpress.org/support/users/ben_nz/)
 * (@ben_nz)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-not-working/)
 * I added this code immediately after the <head> of the header.php file…
 * <?php do_action( ‘wpe_gce_head’ ); ?>
 * Yet I still get [this ‘fatal error’](https://dl.dropbox.com/u/26766139/Google_Content_Experiments.PNG)
   on the page that I add the script code to.
 * Any thoughts on this? I’ve used this plugin successfully before, and can’t get
   my head around why its not working this time.
 * Seems related to what was added to the header.php file, but tried it on two different
   themes, and still no joy.
 * Your thoughts most welcome!
 * -Ben
 * [http://wordpress.org/extend/plugins/google-content-experiments/](http://wordpress.org/extend/plugins/google-content-experiments/)

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

 *  Plugin Author [Glenn Mulleners](https://wordpress.org/support/users/glennm/)
 * (@glennm)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-not-working/#post-3002931)
 * Hi Ben,
 * The function `wp_get_theme` exists since WordPress 3.4.0.
 * I see that you’re still using version 3.3.2 on your site. Try to update to the
   latest version of WordPress and see if that resolves the issue.
 *  Thread Starter [ben_nz](https://wordpress.org/support/users/ben_nz/)
 * (@ben_nz)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-not-working/#post-3002958)
 * That worked! Thanks a lot for that.
 * I sure spent a bit of time pulling my hair out over this, so I definitely think
   it would be great if the requirement to update wordpress could be added to the
   plugin’s installation instructions.
 * Thanks again~
    Ben
 *  Plugin Author [Glenn Mulleners](https://wordpress.org/support/users/glennm/)
 * (@glennm)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-not-working/#post-3003035)
 * I’ve updated the **Requires:** on the plugin page to 3_.4.0 or higher_ and added
   the **Call to undefined function `wp_get_theme`** question to the FAQ.

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

The topic ‘[Plugin: Google Content Experiments] Not working?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-content-experiments_9db5c0.
   svg)
 * [Google Content Experiments](https://wordpress.org/plugins/google-content-experiments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-content-experiments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-content-experiments/)
 * [Active Topics](https://wordpress.org/support/plugin/google-content-experiments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-content-experiments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-content-experiments/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Glenn Mulleners](https://wordpress.org/support/users/glennm/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-not-working/#post-3003035)
 * Status: resolved