Can’t download or see any invoice – 500 error
-
Hi!
Just installed the plugin, set everything up, simulated a purchase.
Now everytime I try to download or preview an invoice it shows me the 500 error page as you can see in screenshots.https://s15.postimg.cc/lakytwxzv/Captura_de_ecra_2018-08-21_a_s_19.44.12.png
https://s15.postimg.cc/anr5ohi4r/Captura_de_ecra_2018-08-21_a_s_19.46.17.pngAny help? Thank you
The page I need help with: [log in to see the link]
-
Hello Ricardo,
What PHP version are you using? Please send us a WooCommerce system status. Here’s a screenshot showing how to get it.
Ok, here it is.:
https://pastebin.com/fFCWkfdjThank you
-
This reply was modified 6 years, 6 months ago by
ricardo.araujo330.
Thanks. Please activate WP DEBUG LOG in your WordPress and replicate the issue. Check the log file and if there are any errors, please paste them in this thread.
Tested a couple of errors that show up:
[22-Aug-2018 10:26:01 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:26:04 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:26:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:26:13 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:26:21 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:29:45 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:29:48 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:29:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:30:27 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(923): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(855): invoicePostType->getInvoicePdf('3610') #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->getInvoicePdfAction('3610') #5 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action( in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787 [22-Aug-2018 10:31:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(83): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->updatePdfInvoiceAction(3610, Object(WP_Post), true) #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/floresno/public_html/wp-includes/post.php(3673): do_action('save_post', 3610, Object(WP_Post), tr in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787
Also, this came up when I tried to update one of my invoices:
Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php:1787 Stack trace: #0 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php(1232): mPDF->setMBencoding('UTF-8') #1 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(878): mPDF->__construct('pl-PL', 'A4') #2 /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/invoicePostType.php(83): invoicePostType->generatePdfFileContent(Object(InvoicePostWoocommerce)) #3 /home/floresno/public_html/wp-includes/class-wp-hook.php(286): invoicePostType->updatePdfInvoiceAction(3610, Object(WP_Post), true) #4 /home/floresno/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /home/floresno/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/floresno/public_html/wp-includes/post.php(3673): do_action('save_post', 3610, Object(WP_Post), tr in /home/floresno/public_html/wp-content/plugins/flexible-invoices/class/mpdf/mpdf.php on line 1787
-
This reply was modified 6 years, 6 months ago by
ricardo.araujo330.
Updated php version from 7.0 to 7.2 and it’s showing the invoices now…
Its solved for the moment. Thank you -
This reply was modified 6 years, 6 months ago by
- The topic ‘Can’t download or see any invoice – 500 error’ is closed to new replies.