I'm getting "There has been a critical error on your website." with ReportBuilder even in the "Download Report Preview" when configuring a report. I can't find anything in my error logs. Even when I turn on error log display, it won't display anything. Just the same generic error. I don't get emails either.
I use ReportBuilder on a different website/server and never had any trouble so I'm very familiar with the product and setting it up. No matter what I do on this website, I can't get any reports to work.
I even made a text ".docx" with no merge fields on it. It just says "hello". That gives me the same critical error.
I found your information on a prior post about how to debug this error. This is what's showing:
Fatal error: Uncaught Error: Call to undefined function PhpOffice\PhpSpreadsheet\Shared\mb_convert_encoding() in /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php:462 Stack trace: #0 /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php(1434): PhpOffice\PhpSpreadsheet\Shared\StringHelper::convertEncoding('Edward Orlando\x00...', 'UTF-8', 'CP1252') #1 /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php(639): PhpOffice\PhpSpreadsheet\Reader\Xls->readSummaryInformation() #2 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.spreadsheet.builder.php(246): PhpOffice\PhpSpreadsheet\Reader\Xls->load('/home/covidasa/...') #3 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.spreadsheet.builder.php(319): WDTReportBuilder\SpreadsheetBuilder->fillInMultipleFil in /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php on line 462
There has been a critical error on your website.
Is this an issue with MBSTRING? I can't find MBstring anywhere to install it. I've looked all over but I can't find how to do this. It's not available on my dedicated server and not in the library for download.
I finally solved the mb_convert_encoding error by successfully installing PHP-mbstring. What a nightmare that was.... Now, I get this error:
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php:134 Stack trace: #0 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/TemplateProcessor.php(88): PhpOffice\PhpWord\Shared\ZipArchive->open('/tmp/PhpWordrBK...') #1 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.template.processor.extend.php(13): PhpOffice\PhpWord\TemplateProcessor->__construct('/home/covidasa/...') #2 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.document.builder.php(61): WDTReportBuilder\TemplateProcessorExtend->__construct('/home/covidasa/...') #3 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.document.builder.php(256): WDTReportBuilder\DocumentBuilder->fillInSingleFile() #4 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.reportbuilder.php(435): WDTReportBuilder\Docu in /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php on line 134
I'm glad to hear you were able to resolve the first error.
The new error indicates that ZipArchive has not been installed on your server.
Can you please reach out to your hosting provider, and ask them to install the archive. Also, please make sure the Apache is restarted after installation.
Hi,
I'm getting "There has been a critical error on your website." with ReportBuilder even in the "Download Report Preview" when configuring a report. I can't find anything in my error logs. Even when I turn on error log display, it won't display anything. Just the same generic error. I don't get emails either.
I use ReportBuilder on a different website/server and never had any trouble so I'm very familiar with the product and setting it up. No matter what I do on this website, I can't get any reports to work.
I even made a text ".docx" with no merge fields on it. It just says "hello". That gives me the same critical error.
Please help!
Ed
Hi,
I found your information on a prior post about how to debug this error. This is what's showing:
Fatal error: Uncaught Error: Call to undefined function PhpOffice\PhpSpreadsheet\Shared\mb_convert_encoding() in /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php:462 Stack trace: #0 /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php(1434): PhpOffice\PhpSpreadsheet\Shared\StringHelper::convertEncoding('Edward Orlando\x00...', 'UTF-8', 'CP1252') #1 /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php(639): PhpOffice\PhpSpreadsheet\Reader\Xls->readSummaryInformation() #2 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.spreadsheet.builder.php(246): PhpOffice\PhpSpreadsheet\Reader\Xls->load('/home/covidasa/...') #3 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.spreadsheet.builder.php(319): WDTReportBuilder\SpreadsheetBuilder->fillInMultipleFil in /home/covidasa/public_html/wp/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php on line 462
There has been a critical error on your website.
Is this an issue with MBSTRING? I can't find MBstring anywhere to install it. I've looked all over but I can't find how to do this. It's not available on my dedicated server and not in the library for download.
Thanks.
Ed
Hi,
I finally solved the mb_convert_encoding error by successfully installing PHP-mbstring. What a nightmare that was.... Now, I get this error:
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php:134 Stack trace: #0 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/TemplateProcessor.php(88): PhpOffice\PhpWord\Shared\ZipArchive->open('/tmp/PhpWordrBK...') #1 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.template.processor.extend.php(13): PhpOffice\PhpWord\TemplateProcessor->__construct('/home/covidasa/...') #2 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.document.builder.php(61): WDTReportBuilder\TemplateProcessorExtend->__construct('/home/covidasa/...') #3 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.document.builder.php(256): WDTReportBuilder\DocumentBuilder->fillInSingleFile() #4 /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/source/class.reportbuilder.php(435): WDTReportBuilder\Docu in /home/covidasa/public_html/wp/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php on line 134
Hello Ed
I'm glad to hear you were able to resolve the first error.
The new error indicates that ZipArchive has not been installed on your server.
Can you please reach out to your hosting provider, and ask them to install the archive. Also, please make sure the Apache is restarted after installation.
Please let me know how things go.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you Aleksandar. I installed php-zip and it works now.
Good news, Ed
I'm glad to hear that helped.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables