Closed simonr44 closed 1 month ago
Hello @simonr44,
thanks for raising the issue.
This appears to be a duplicate of: https://github.com/salesagility/SuiteCRM/issues/10353 Please let us know if you believe otherwise.
Regards, Serhii
Apologies I didn't spot the duplicate. Not sure if you have a preference on how to resolve the issue as we have taken different approaches here.
Issue
The reports dashlet allows you to add reports to your homescreen. If you delete a report which is used in a reports dashlet, the home screen fails to load and throws a 500 error.
Expected Behavior
The dashboard should continue to load, even after deleting a report which is used by the reports dashlet.
Actual Behavior
Uncaught Error: Attempt to assign property "user_parameters" on bool in /var/www/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php:44
Possible Fix
To follow
Steps to Reproduce
Context
When this happens, the main workarounds are to clear user preferences or restore the deleted report. This fix prevents the unrecoverable error and allows the user to interact with the dashlet as normal.
Your Environment