Title: error during activation
Last modified: October 27, 2018

---

# error during activation

 *  Resolved [makeyourbullet](https://wordpress.org/support/users/makeyourbullet/)
 * (@makeyourbullet)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-during-activation-10/)
 * Hi,
    Your plugin seems to be great, but I didn’t succeed to activate it.
 * Once I install it on wordpress, I click on the activate button and it tells me
   that :
    Fatal error: Cannot declare class FPDF, because the name is already in
   use in /www/wp-content/plugins/gift-voucher/library/fpdf/fpdf.php on line 12
 * Can you tell me if I can do something to fix that ?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Codemenschen](https://wordpress.org/support/users/codemenschen/)
 * (@codemenschen)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-during-activation-10/#post-10825557)
 * Hi [@makeyourbullet](https://wordpress.org/support/users/makeyourbullet/),
 * It seems like any other plugin is also using the same library for PDF generation.
 * Can you please do other plugins deactivate one by one and then activate our plugin?
   so you can find out which other plugin is conflicting with the FPDF library.
 * There could be the theme also which can be also use the FPDF library.
 * Please let me know if this doesn’t help you with this.
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#do-not-spam)]_
    -  This reply was modified 6 years, 5 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [makeyourbullet](https://wordpress.org/support/users/makeyourbullet/)
 * (@makeyourbullet)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-during-activation-10/#post-10829196)
 * Hi,
 * I did what you said and it works. I found the other plugin and I deactivated 
   it.
 * Thanks 🙂
    -  This reply was modified 7 years, 6 months ago by [makeyourbullet](https://wordpress.org/support/users/makeyourbullet/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error during activation’ is closed to new replies.

 * ![](https://ps.w.org/gift-voucher/assets/icon-256x256.png?rev=2433083)
 * [Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported)](https://wordpress.org/plugins/gift-voucher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gift-voucher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gift-voucher/)
 * [Active Topics](https://wordpress.org/support/plugin/gift-voucher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gift-voucher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gift-voucher/reviews/)

 * 2 replies
 * 0 participants
 * Last reply from: [makeyourbullet](https://wordpress.org/support/users/makeyourbullet/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/error-during-activation-10/#post-10829196)
 * Status: resolved