• Resolved Sirup

    (@sirup)


    Hi!

    I have the following issue when creating an invoice:
    Fatal error: Class ‘Dompdf\Options’ not found

    The error does not occur when I create a delivery slip.

    WP is 6.1.1
    Unfortunately, PHP is7.2.32 as my provider does not support a higher php version anymore. It will take some time to transfer my webshop to another provider.

    Can you give me a hint how to solve this issue?

    It exists for me for the newest version 3.2.4.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @sirup

    The PHP version is not a problem, the minimum required is 7.1, but something is wrong there.

    Can you show us the Invoice error in a screenshot? You can host it here.

    Thread Starter Sirup

    (@sirup)

    Thank you for the answer.
    I tried many different things yesterday.
    Using older version of the plugin.
    Removing all templates I found (there were non in my theme folder).
    etc.

    Here is the error message instead of the invoice:

    Fatal error: Class 'Dompdf\Options' not found
    /var/www/vhosts/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php (36)
    #0 /var/www/vhosts/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(799): WPO\WC\PDF_Invoices\PDF_Maker->output()
    #1 /var/www/vhosts/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(864): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #2 /var/www/vhosts/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(401): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('inline')
    #3 /var/www/vhosts/wp-includes/class-wp-hook.php(308): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax('')
    #4 /var/www/vhosts/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #5 /var/www/vhosts/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /var/www/vhosts/wp-admin/admin-ajax.php(188): do_action('wp_ajax_generat...')
    #7 {main}
    Plugin Contributor alexmigf

    (@alexmigf)

    Could you show me your directory list inside the plugin vendor folder?

    Thread Starter Sirup

    (@sirup)

    Here is the vendor folder: https://ibb.co/0DRjk0p

    Or did you mean also the content of the subdirectories?

    Thanks

    Plugin Contributor alexmigf

    (@alexmigf)

    That’s fine, thank you!

    Could you also share the System Requirements from the plugin settings Status tab?

    Thread Starter Sirup

    (@sirup)

    Of course!

    Does this help?
    https://ibb.co/Bj1K6dS

    Plugin Contributor alexmigf

    (@alexmigf)

    Could you please contact us by email to [email protected]?

    Thread Starter Sirup

    (@sirup)

    Hi!

    I cannot send mails to you:
    The mail system

    <[email protected]>: host mx1.simbahosting.co.uk[176.58.98.143] said: 451
    DKIM signature invalid: invalid (in reply to end of DATA command)

    Can you provide a different mail?

    Thank,

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @sirup,

    Could you please try contacting us by https://wpovernight.com/contact/ instead? Try using an email address from Gmail, Hotmail, etc., if you’re having issue with your corporate email.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @sirup,

    We received your message, but you filled the “Email” field with our own email address ([email protected]), so we can’t reply. As I asked in my previous reply, please use an email address from Gmail, Hotmail, etc., so we can answer, and you get the message in your inbox ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Class ‘Dompdf\Options’ not found’ is closed to new replies.