Title: class TCPDF_FONT_DATA duplicate
Last modified: August 20, 2020

---

# class TCPDF_FONT_DATA duplicate

 *  Resolved [Th.leruth](https://wordpress.org/support/users/thleruth/)
 * (@thleruth)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/class-tcpdf_font_data-duplicate/)
 * Hey guys,
 * I got a conflict with another plugin also using the TCPDF font data class. Could
   you add a conditional clause to make sure classes don’t conflict? I added a class_exists()
   check in your plugin for now. Could you add it in a future release? 🙂
 * Thank you 🙂
    -  This topic was modified 5 years, 8 months ago by [Th.leruth](https://wordpress.org/support/users/thleruth/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [BlueGlass](https://wordpress.org/support/users/blueglassinteractive/)
 * (@blueglassinteractive)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/class-tcpdf_font_data-duplicate/#post-13448030)
 * Hi [@thleruth](https://wordpress.org/support/users/thleruth/)
 * when exactly you see the conflict?
 * We already add TCPDF only when its not already added somewhere else:
    `if( !class_exists('
   TCPDF') ) require_once(plugin_dir_path( __FILE__ ) . 'tcpdf/tcpdf.php');`
 * Br,

Viewing 1 replies (of 1 total)

The topic ‘class TCPDF_FONT_DATA duplicate’ is closed to new replies.

 * ![](https://ps.w.org/job-postings/assets/icon-256x256.jpg?rev=1702382)
 * [Job Postings](https://wordpress.org/plugins/job-postings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/job-postings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/job-postings/)
 * [Active Topics](https://wordpress.org/support/plugin/job-postings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/job-postings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/job-postings/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [BlueGlass](https://wordpress.org/support/users/blueglassinteractive/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/class-tcpdf_font_data-duplicate/#post-13448030)
 * Status: resolved