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?
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:
I downloaded Query Monitor plugin - what information would you like from this?
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
#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...')
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!