Title: Plugin Conflict
Last modified: July 10, 2022

---

# Plugin Conflict

 *  Resolved [2mooses](https://wordpress.org/support/users/2mooses/)
 * (@2mooses)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/plugin-conflict-368/)
 * Just installed the plugin and tried activating it, and received a critical error.
   Logging in under recovery mode, this was the error message on the plugins page
   under this plugin:
 * This plugin failed to load properly and is paused during recovery mode.
 * > An error of type E_COMPILE_ERROR was caused in line 25 of the file /home/[username]/
   > public_html/wp-content/plugins/wc-donation-platform/includes/integrations/woocommerce-
   > pdf-invoices-packing-slips/class-wcdp-thank-you-certificate.php. Error message:
   > Cannot declare class WPO\WC\PDF_Invoices\Documents\WCDP_Thank_You_Certificate,
   > because the name is already in use.
 * I was able to deactivate the plugin and all seems back to normal. Is this fixable?
   I am intrigued with your plugin and would very much like to try it out on behalf
   of a client who has an online shop and is also a registered charity. Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jonas](https://wordpress.org/support/users/flinnn/)
 * (@flinnn)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/plugin-conflict-368/#post-15813390)
 * Dear 2mooses,
 * thanks for reaching out.
    Could you please send me a list of the plugins & themes
   you have installed so I can take a closer look at the problem? A possible explanation
   could be that the `wpo_wcpdf_document_classes` filter is called more than once
   in your WP installation. This could cause the `WCDP_Thank_You_Certificate` class
   to be added multiple times. Could you please try the following possible fix: 
   Replace `include` with `include_once` in line 56 in the document /home/[username]/
   public_html/wp-content/plugins/wc-donation-platform/includes/integrations/woocommerce-
   pdf-invoices-packing-slips/class-wcdp-pdf-Invoices.php. Could you please give
   me feedback if this fixed the problem and everything is still working normally?
   If so, I’ll be happy to include the fix in the next update.
 * Best regards
    Jonas
 * PS: It’s best to use a multisite if you want to set up both a webshop and donation
   page. WCDP changes some wordings, which might confuse normal shoppers.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Conflict’ is closed to new replies.

 * ![](https://ps.w.org/wc-donation-platform/assets/icon.svg?rev=2611888)
 * [Donation Platform for WooCommerce: Fundraising & Donation Management](https://wordpress.org/plugins/wc-donation-platform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-donation-platform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-donation-platform/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-donation-platform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-donation-platform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-donation-platform/reviews/)

## Tags

 * [plugin conflict](https://wordpress.org/support/topic-tag/plugin-conflict/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jonas](https://wordpress.org/support/users/flinnn/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/plugin-conflict-368/#post-15813390)
 * Status: resolved