WordPress.org

Ready to get started?Download WordPress

Forums

Google Content Experiments
[resolved] Fatal error: plugins/google-content-experiments/class-wpe-GCE.php on line 69 (2 posts)

  1. jayman123
    Member
    Posted 1 year ago #

    Fatal error: Call to undefined function wp_get_theme() in /home/www/132c94df605257a48e3d0b82f9cd2386/web/wp-content/plugins/google-content-experiments/class-wpe-GCE.php on line 69

    Please can you help , I get the above error when I 'Activate Content Experiment on this page'

    I am using a the mazine wordpress theme and have added the code in my header.php. (<?php do_action( 'wpe_gce_head' ); ?>)

    When I run google test i get :

    No experiment code found.
    Your original page needs the experiment code

    and

    No Google Analytics tracking code found.
    All web pages used in your experiment need tracking code

    So basically three errors and have no idea what to do !!

    Please help if you can.

    I am on wordpress : 3.3.2

    http://wordpress.org/extend/plugins/google-content-experiments/

  2. glennm
    Member
    Plugin Author

    Posted 1 year ago #

    Upgrading your WP should resolve the issue. Please see the FAQ:

    The function wp_get_theme exists since WordPress 3.4.0. Try to update to the latest version of WordPress and see if that resolves the issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic