Support Hours: Mon-Fri 8:00-14:00 CET - If and when our partners and kids allow, we may reply to your posts outside these hours :)
Hi, I am using the latest wordpress, woocommerce and ATUM but I can`t get the PO in pdf format and therefore cannot send it to my distributors. I get "This page isn’t working is currently unable to handle this request. HTTP ERROR 500".
What can I do?
Hi @Skrusell
Please, look at your PHP error log or attach it to this post to be able to determine what is happening. If you can't find it on your web server, you can see here how to enable it:
https://codex.wordpress.org/Debugging_in_WordPress
Best Regards, Salva.
@Salva Hi, I downloaded Query Monitor plugin - what information would you like from this?
//Lasse
Any warnings or errors you may have when trying to export the PDF. But not sure if that plugin can help for this specific case...
If you cannot see it that way, I suggest you to follow the instructions I provided before.
2019-01-02T10:26:47+00:00 CRITICAL Uncaught Error: Call to undefined function Mpdf\mb_regex_encoding() in /home/skrusspf/public_html/slippmeginn/plugins/atum-stock-manager-for-woocommerce/vendor/mpdf/mpdf/src/Mpdf.php:1106 Stack trace: #0 /home/skrusspf/public_html/slippmeginn/plugins/atum-stock-manager-for-woocommerce/classes/PurchaseOrders/PurchaseOrders.php(493): Mpdf\Mpdf->__construct(Array) #1 /home/skrusspf/public_html/wp-includes/class-wp-hook.php(286): Atum\PurchaseOrders\PurchaseOrders->generate_order_pdf('') #2 /home/skrusspf/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #3 /home/skrusspf/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/skrusspf/public_html/wp-admin/admin-ajax.php(99): do_action('wp_ajax_atum_or...') #5 {main} thrown i /home/skrusspf/public_html/slippmeginn/plugins/atum-stock-manager-for-woocommerce/vendor/mpdf/mpdf/src/Mpdf.php på linje 1106
Reading that error, it seems that the mb_regex_encoding function is not available on your system. You can ask your hosting provider to enable that PHP module for you. That should fix your issue.
It worked! Thanks for the help 🙂
Glad to hear! You're welcome.