wpsnoop Fatal error: Cannot redeclare php_xmlrpc_encode()

If you are dealing with a WordPress issue where a PHP Function php_xmlrpc_encode() was already declared it is most likely due to a plugin/theme conflict.

wpsnoop scanned and analyzed over 100,000 WordPress plugins and themes to find and locate potential conflicts including functions that share the same name.

This page has information on the 17 places where that function is declared and used in WordPress plugins and themes.

Note: Our database currently only taps into the free themes and plugins available in the publicly available WordPress plugins and themes, if your site uses paid plugins, themes or custom code there may be additional conflicts.


Our database has uncovered 17 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/xmlrpc.inc:3466)

This file is part of the WordPress plugin Infugrator and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/infusionsoft-sdk/Infusionsoft/xmlrpc.inc:3467)

This file is part of the WordPress plugin Infusionsoft SDK and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/my-two-cents/lib/bitcoin-php/src/includes/xmlrpc.inc:3411)

This file is part of the WordPress plugin My Two Cents and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/contact-form-7-infusionsoft-add-on/src/xmlrpc-3.0/lib/xmlrpc.inc:3002)

This file is part of the WordPress plugin Contact Form 7 - Infusionsoft Add-on and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/apm-child/infusionsoft/xmlrpc-3.0/lib/xmlrpc.inc:3407)

This file is part of the WordPress plugin APM Child and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/subscription-management-for-infusionsoft/plugins/iSDK/xmlrpc-3.0/lib/xmlrpc.inc:6003)

This file is part of the WordPress plugin Subscription Management for Infusionsoft and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/aviberry-wordpress-video-conversion-plug-in/lib/rpc/xmlrpc.inc:3420)

This file is part of the WordPress plugin Aviberry Plugin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/mailermailer/includes/mailermailer-api-php/xmlrpc/xmlrpc.inc:3447)

This file is part of the WordPress plugin MailerMailer and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/dynapoll/xmlrpc.inc:3406)

This file is part of the WordPress plugin DynaPoll and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/woo-infusionsoft-integration/includes/Infusionsoft/xmlrpc.inc:3466)

This file is part of the WordPress plugin Woocommerce infusionsoft integration and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/thinkermedia-cross-posting/xmlrpc.inc:3406)

This file is part of the WordPress plugin BestThinking and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/e-goi-mail-list-builder/includes/class.xmlrpc.php:3406)

This file is part of the WordPress plugin e-goi Mail List Builder and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/e-goi-mail-list-builder-contact-form-7/includes/class.xmlrpc.php:13621)

This file is part of the WordPress plugin e-goi Mail List Builder Contact Form 7 and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/e-goi-mail-list-builder-woo-commerce/includes/class.xmlrpc.php:10216)

This file is part of the WordPress plugin e-goi Mail List Builder Woo Commerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/wp-repost/lib/xmlrpc.inc:3407)

This file is part of the WordPress plugin WP Repost and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/email-open-tracking-for-infusionsoft/plugins/iSDK/xmlrpc-3.0/lib/xmlrpc.inc:3002)

This file is part of the WordPress plugin Email Open Tracking for Infusionsoft and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare php_xmlrpc_encode() (previously declared in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/lib/xmlrpc.inc:3406)

This file is part of the WordPress plugin IS-WP Connector and could be interacting with another theme or plugin and causing a fatal error.

The error occurs because two (or more) plugins that you are using are both trying to declare a function with the same name.