Hello.
When exporting as CSV a report that worked a month ago I suddenly get this as the contents of the csv file. The report itself works fine in the browser.
<b>Fatal error</b>: Uncaught ValueError: mb_convert_encoding(): Argument #2 ($to_encoding) must be a valid encoding "utf8mb4" given in /usr/share/nginx/html/corey/lib/export.php:2987
Stack trace:
#0 /usr/share/nginx/html/corey/lib/export.php(2987): mb_convert_encoding()
#1 /usr/share/nginx/html/corey/lib/export.php(3090): mydbrExport->fputcsv()
#2 /usr/share/nginx/html/corey/lib/export.php(3080): mydbrExport->csv_headers()
#3 /usr/share/nginx/html/corey/lib/export.php(3134): mydbrExport->export_csv_init_rs()
#4 /usr/share/nginx/html/corey/lib/export.php(4004): mydbrExport->export_csv()
#5 /usr/share/nginx/html/corey/apps/showReport.php(10387): mydbrExport->print_report()
#6 /usr/share/nginx/html/corey/apps/showReport.php(9): sg_load()
#7 /usr/share/nginx/html/corey/report.php(559): require_once('...')
#8 /usr/share/nginx/html/corey/report.php(9): sg_load()
#9 {main}
thrown in <b>/usr/share/nginx/html/corey/lib/export.php</b> on line <b>2987</b>