Report Dashlet Not Loading Report running SuiteCRM version 7.12.6

Trying to load a report into the Report Dashlet and nothing loads. Found the error below.

Any help would be appricated.

[Mon Sep 19 20:31:39.610428 2022] [proxy_fcgi:error] [pid 99270:tid 140059175831296] [client 10.40.10.129:50132] AH01071: Got error 'PHP message: PHP Warning: Undefined array key “parameter_value” in /bitnami/suitecrm/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php on line 142

PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /bitnami/suitecrm/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php:142
Stack trace:
#0 /bitnami/suitecrm/include/MVC/Controller/SugarController.php(893): AORReportsDashlet->saveOptions()
#1 /bitnami/suitecrm/include/MVC/Controller/SugarController.php(522): SugarController->action_configuredashlet()
#2 /bitnami/suitecrm/include/MVC/Controller/SugarController.php(491): SugarController->do_action()
#3 /bitnami/suitecrm/include/MVC/Controller/SugarController.php(465): SugarController->handle_action()
#4 /bitnami/suitecrm/include/MVC/Controller/SugarController.php(361): SugarController->process()
#5 /bitnami/suitecrm/include/MVC/SugarApplication.php(101): SugarController->execute()
#6 /bitnami/suitecrm/index.php(52): SugarApplication->execute()
#7 {main}\n thrown in /bitnami/suitecrm/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php on line 142’, referer: http://10.10.39.1/index.php?module=Home&action=index

[Mon Sep 19 20:31:39.865035 2022] [proxy_fcgi:error] [pid 659:tid 140058816280320] [client 10.40.10.129:50133] AH01071: Got error ‘PHP message: PHP Warning: Attempt to read property “id” on null in /bitnami/suitecrm/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php on line 57’, referer: http://10.10.39.1/index.php?module=Home&action=index

[Mon Sep 19 20:31:44.318835 2022] [proxy_fcgi:error] [pid 99270:tid 140058648426240] [client 10.40.10.129:50134] AH01071: Got error ‘PHP message: PHP Warning: Attempt to read property “id” on null in /bitnami/suitecrm/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php on line 93PHP message: PHP Warning: Attempt to read property “name” on null in /bitnami/suitecrm/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php on line 94PHP message: PHP Warning: Undefined array key “LBL_DASHLET_SELECT_REPORT” in /bitnami/suitecrm/cache/smarty/templates_c/%%D7^D74^D74EEC47%%dashletConfigure.tpl.php on line 38PHP message: PHP Warning: Undefined array key “LBL_DASHLET_SELECT_REPORT” in /bitnami/suitecrm/cache/smarty/templates_c/%%D7^D74^D74EEC47%%dashletConfigure.tpl.php on line 39PHP message: PHP Warning: Undefined array key “LBL_DASHLET_CLEAR_REPORT” in /bitnami/suitecrm/cache/smarty/templates_c/%%D7^D74^D74EEC47%%dashletConfigure.tpl.php on line 57PHP message: PHP Warning: Undefined array key “LBL_DASHLET_CLEAR_REPORT” in /bitnami/suitecrm/cache/smarty/templates_c/%%D7^D74^D74EEC47%%dashletConfigure.tpl.php on line 59’, referer: http://10.10.39.1/index.php?module=Home&action=index

Check that your PHP version is within the Matrix:

Thanks for the suggestion but we are on version 8 of PHP which the matrix says is correct for SuiteCRM 7.12

Can you try this fix?

We made this change and the problem remains. Cannot load the report into the Dashlet. Thanks again for your suggestion.

Hhhm I don’t know, then.

Just a few random things to try:

  • delete the cached file /bitnami/suitecrm/cache/smarty/templates_c/%%D7^D74^D74EEC47%%dashletConfigure.tpl.php , it will get re-created and might come up different

  • in Admin / Repairs, run a repair dashlets action.

  • try commenting out continue as explained here.