Fatal Error with version 1.9.0
-
Updated from 1.8.14 to 1.9.0 and got fatal error when trying to download xls file.
please help. (everything works if rolled back to 1.8.14).Error message:Uncaught TypeError: Argument 2 passed to GFExcel\Repository\FieldsRepository::__construct() must be of the type array, object given, called in /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php on line 110 and defined in /var/www/wp-content/plugins/gf-entries-in-excel/src/Repository/FieldsRepository.php:33<br />
Stack trace:<br />
#0 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php(110): GFExcel\Repository\FieldsRepository->__construct()<br />
#1 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php(172): GFExcel\GFExcelOutput->getFields()<br />
#2 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php(124): GFExcel\GFExcelOutput->setColumns()<br />
#3 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcel.php(351): GFExcel\GFExcelOutput->render()<br />
#4 /var/www/wp-includes/class-wp-hook.php(303): GFExcel\GFExcel->downloadFile()<br />
#5 /var/www/wp-includes/class-wp-hook.php(32If you need support, please contact us via www.ads-software.com support forum.
Check if someone else had the same error before posting a new support question.
And when opening a new question, please use the error message as the title.
Include the following details in your message:
Plugin Version: 1.9.0
Gravity Forms Version: 2.5.9
PHP Version: 7.4.23
WordPress Version: 5.8
Error message: Uncaught TypeError: Argument 2 passed to GFExcel\Repository\FieldsRepository::__construct() must be of the type array, object given, called in /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php on line 110 and defined in /var/www/wp-content/plugins/gf-entries-in-excel/src/Repository/FieldsRepository.php:33
Stack trace:
#0 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php(110): GFExcel\Repository\FieldsRepository->__construct()
#1 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php(172): GFExcel\GFExcelOutput->getFields()
#2 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcelOutput.php(124): GFExcel\GFExcelOutput->setColumns()
#3 /var/www/wp-content/plugins/gf-entries-in-excel/src/GFExcel.php(351): GFExcel\GFExcelOutput->render()
#4 /var/www/wp-includes/class-wp-hook.php(303): GFExcel\GFExcel->downloadFile()
#5 /var/www/wp-includes/class-wp-hook.php(32
Error stack trace:
#0 [internal function]: GFExcel\Renderer\AbstractPHPExcelRenderer->fatalHandler()
#1 {main}`
- The topic ‘Fatal Error with version 1.9.0’ is closed to new replies.