Fatal error since upgrade to 24
-
Hello there,
Since we made upgrade (without any error) to version 24, when we click on Client, the page below return http 500 error, any other page returns error, could you help me to solve the issue ? thanks
I test all php version (7.4 to 8.0 8.1), same issue.URL?objID=110621 > return HTTP 500 fatal error
Fatal error: Uncaught ArgumentCountError: Too few arguments to function isys_cmdb_ui_category_g_custom_fields::prepareReport(), 2 passed in /var/www/html/i-doit/src/classes/modules/cmdb/ui/global/isys_cmdb_ui_category_g_overview.class.php on line 144 and exactly 3 expected in /var/www/html/i-doit/src/classes/modules/cmdb/ui/global/isys_cmdb_ui_category_g_custom_fields.class.php:413 Stack trace: #0 /var/www/html/i-doit/src/classes/modules/cmdb/ui/global/isys_cmdb_ui_category_g_overview.class.php(144): isys_cmdb_ui_category_g_custom_fields->prepareReport() #1 /var/www/html/i-doit/src/classes/modules/cmdb/view/isys_cmdb_view_category.class.php(888): isys_cmdb_ui_category_g_overview->process() #2 /var/www/html/i-doit/src/classes/modules/cmdb/view/isys_cmdb_view_category.class.php(644): isys_cmdb_view_category->category_process() #3 /var/www/html/i-doit/src/classes/modules/cmdb/isys_module_cmdb.class.php(884): isys_cmdb_view_category->process() #4 /var/www/html/i-doit/src/classes/modules/manager/isys_module_manager.class.php(1052): isys_module_cmdb->start() #5 /var/www/html/i-doit/src/idoit/Legacy/ModuleLoader.php(37): isys_module_manager->load() #6 /var/www/html/i-doit/src/classes/core/isys_application.class.php(106): idoit\Legacy\ModuleLoader->boot() #7 /var/www/html/i-doit/src/application.inc.php(30): isys_application::run() #8 /var/www/html/i-doit/src/i-doit.inc.php(107): include_once('...') #9 /var/www/html/i-doit/src/hypergate.inc.php(213): include_once('...') #10 /var/www/html/i-doit/index.php(205): include_once('...') #11 {main} thrown in /var/www/html/i-doit/src/classes/modules/cmdb/ui/global/isys_cmdb_ui_category_g_custom_fields.class.php on line 413
-
hey @abgmb,
this happens when a variable report is displayed on the overview page.
We have a hotfix for this here
https://kb.i-doit.com/en/system-administration/hotfixes/hotfix-archive/v24.html#variable-report-on-overview-page-causes-500-error -
@Michael-Overkamp Thanks a lot, it works
-
@Michael-Huhn said in Fatal error since upgrade to 24:
hey @abgmb,
this happens when a variable report is displayed on the overview page.
We have a hotfix for this here
https://kb.i-doit.com/en/system-administration/hotfixes/hotfix-archive/v24.html#variable-report-on-overview-page-causes-500-error dinosaur gameThanks!!!!