• Resolved riaface

    (@riaface)


    Hi, I’ve installed the YITH Woocommerce tickets plugin, which does exactly what I need it to do, but when I’ve just tried a test transaction I got a fatal error: Fatal error: Uncaught exception ‘MpdfException’ with message ‘Can’t open file /var/sites/s/sundragonpottery.co.uk/public_html/wp-content/plugins/yith-event-tickets-for-woocommerce/vendor/mpdf/mpdf/ttfontdata/dejavusansB.GSUBGPOStables.dat’ in /var/sites/s/sundragonpottery.co.uk/public_html/wp-content/plugins/yith-event-tickets-for-woocommerce/vendor/mpdf/mpdf/classes/otl.php:297 Stack trace: #0 /var/sites/s/sundragonpottery.co.uk/public_html/wp-content/plugins/yith-event-tickets-for-woocommerce/vendor/mpdf/mpdf/mpdf.php(16212): otl->applyOTL(‘Wheelwork with …’, 255) #1 /var/sites/s/sundragonpottery.co.uk/public_html/wp-content/plugins/yith-event-tickets-for-woocommerce/includes/functions.yith-wcevti.php(191): mPDF->WriteHTML(‘<div class=”yit…’, 2) #2 /var/site s/s/sundragonpottery.co.uk/public_html/wp-content/plugins/yith-event-tickets-for-woocommerce/includes/functions.yith-wcevti.php(137): yith_wcevti_ticket_to_pdf(‘460’) #3 /var/sites/s/sundragonpottery.co.uk/public_html/wp-content/plugins/yith-event-tickets-for-woo in /var/sites/s/sundragonpottery.co.uk/public_html/wp-content/plugins/yith-event-tickets-for-woocommerce/vendor/mpdf/mpdf/classes/otl.php on line 297

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi, @riaface.

    Seems that could be a MPDF library problem. Event Tickets use this library to generates PDF files. Please check your PHP server version, the minimun required to run MPDF is 5.5.

    Let me know if this can help you.
    Regards ??

    Thread Starter riaface

    (@riaface)

    Hi, thanks for your reply! I’ve just checked my PHP version and I’m running 5.6. Any idea what I can do to fix this?

    Plugin Author YITHEMES

    (@yithemes)

    Event Tickets have necessary files from MPDF library to be more lightweight. Can you try to download MPDF library from official repository and replace the downloaded library on vendor plugin folder…:

    yith-event-tickets-for-woocommerce.premium\vendor\mpdf\mpdf

    Note: MPDF library from official repository weight around 47MB, make security copy before to override something.

    Please try it and if this not works let me know.

    Thread Starter riaface

    (@riaface)

    Thank you, that seems to have solved the issue!

    • This reply was modified 7 years, 6 months ago by riaface. Reason: Marked as resolved
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error on order confirmation page’ is closed to new replies.