• In class-wpe-GCE, the __construct adds a “wp” action which calls the method “setup”. That again adds a “wp” action, but the method it calls will never run because WordPress has already called the “wp” action when the “setup” method was called.

    My fix was to just paste the contents of the “prepare_output” method replacing the second add_action call.

    There is also a double “;” further down the script that might sometimes throw notices depending on how someone has their error_reporting setup.

    https://www.ads-software.com/plugins/google-content-experiments/

  • The topic ‘Found out why its not working’ is closed to new replies.