Support

Home Forums Event Espresso Premium Infusionsoft Analytics

Infusionsoft Analytics

Posted: January 14, 2014 at 6:19 am


Frank Knippenberg

January 14, 2014 at 6:19 am

I am trying to install Infusionsoft’s Analytics tracking code on my site via the Infusionsoft Analytics for WordPress plugin and am getting the following error when trying to save my API key

Fatal error: Cannot redeclare xmlrpc_encode_entitites() (previously declared in /home/content/84/9677984/html/wordpress/wp-content/plugins/espresso-infusionsoft/xmlrpc-3.0/lib/xmlrpc.inc:257) in /home/content/84/9677984/html/wordpress/wp-content/plugins/infusionsoft-web-tracker/xmlrpc-3.0/lib/xmlrpc.inc on line 386

I’m assuming there is some type of conflict with the Infusionsoft plugin – Is there anyway around this?

Running current versions of all software.


Sidney Harrell

January 14, 2014 at 12:11 pm

It looks like we are doing it right: in plugins/espresso-infusionsoft/isdk.php we’ve renamed the class to prevent a conflict, and wrapped the library include in a function_exists wrapper (line 9).
I downloaded the infusionsoft-web-tracker plugin, version 1.1, and it looks like he’s not doing either conflict prevention step. If you open up plugins/infusionsoft-web-tracker, and change line 9 from:

include("xmlrpc-3.0/lib/xmlrpc.inc");

to:

if(!function_exists('xmlrpc_encode_entitites')) {
  include("xmlrpc-3.0/lib/xmlrpc.inc");
}

it should prevent the double loading of that library.

The support post ‘Infusionsoft Analytics’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso