Title: Error when generating Certificates &#8211; Premium
Last modified: September 13, 2019

---

# Error when generating Certificates – Premium

 *  [lenks](https://wordpress.org/support/users/lenks/)
 * (@lenks)
 * [7 years ago](https://wordpress.org/support/topic/error-when-generating-certificates-premium/)
 * Hi, we have premium Eduma and premium plugins – caertificates included. Problem
   is that i generated certificate normaly but when is time to generate actual certificate
   after course completion we got the error below. We upload PNG, JPG and so on 
   but the problem still exist. It says that is someting in line 327 but we can’t
   figuret out… The site is still behind a password, can this be the problem?
 * Error
 * > [View post on imgur.com](https://imgur.com/EGcwP32)
 * code line
    $img_type_int = exif_imagetype( $img_template ); if( !is_numeric($
   img_type_int) || $img_type_int > 3 ) { echo __(‘Image template type is not support,
   please ‘, ‘learnpress-certificate’); die(); }
 * Thanks!
    -  This topic was modified 7 years ago by [lenks](https://wordpress.org/support/users/lenks/).
    -  This topic was modified 7 years ago by [lenks](https://wordpress.org/support/users/lenks/).

 The topic ‘Error when generating Certificates – Premium’ is closed to new replies.

 * ![](https://ps.w.org/learnpress/assets/icon-256x256.gif?rev=3254420)
 * [LearnPress - WordPress LMS Plugin for Create and Sell Online Courses](https://wordpress.org/plugins/learnpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learnpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learnpress/)
 * [Active Topics](https://wordpress.org/support/plugin/learnpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learnpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learnpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [lenks](https://wordpress.org/support/users/lenks/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/error-when-generating-certificates-premium/)
 * Status: not resolved