I recently moved my installation to a new Ubuntu 16 server. Everything went well except when I try to print an invoice to pdf. I get no error but jsut a blank window which would appear to be a php error.
Looking at the php error log I appear to be getting many unidentified index errors plus this one:
[Wed Oct 23 19:27:52.870631 2019] [php7:error] [pid 9375] [client 213.152.32.223:56476] PHP Fatal error: Uncaught Error: Call to undefined function mb_regex_encoding() in /var/www/html/SuiteCRM/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php:1234\nStack trace:\n#0 /var/www/html/SuiteCRM/modules/AOS_PDF_Templates/generatePdf.php(152): mPDF->mPDF(βenβ, βA4β, ββ, βDejaVuSansCondeβ¦β, β15β, β15β, β16β, β16β, β9β, β9β)\n#1 /var/www/html/SuiteCRM/include/MVC/Controller/SugarController.php(1020): require_once(β/var/www/html/Sβ¦β)\n#2 /var/www/html/SuiteCRM/include/MVC/Controller/SugarController.php(468): SugarController->handleEntryPoint()\n#3 /var/www/html/SuiteCRM/include/MVC/Controller/SugarController.php(373): SugarController->process()\n#4 /var/www/html/SuiteCRM/include/MVC/SugarApplication.php(113): SugarController->execute()\n#5 /var/www/html/SuiteCRM/index.php(52): SugarApplication->execute()\n#6 {main}\n thrown in /var/www/html/SuiteCRM/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php on line 1234, referer: https://crm.gbsmarketing.co.uk/index.php?action=ajaxui
Any help would be gratefully received as I have now spent a whole day trying to find a solution to no avail.
I am using Version 7.11.8 Sugar Version 6.5.25 (Build 344)
This is one of the index errors I am getting
[Wed Oct 23 19:27:52.854939 2019] [php7:notice] [pid 9375] [client 213.152.32.223:56476] PHP Notice: Undefined index: currencies_conversion_rate in /var/www/html/SuiteCRM/modules/AOS_PDF_Templates/templateParser.php on line 162, referer: https://crm.gbsmarketing.co.uk/index.php?action=ajaxui