Logged in this morning to my CRM (which has been working fine for a long time) only to find some subpanels with the following error;
Warning: Declaration of SugarWidgetSubPanelTopExelExportBtn::display($widget_data) should be compatible with SugarWidgetSubPanelTopButton::display($defines, $additionalFormFields = NULL, $nonbutton = false) occurred in /www/sites/cfa/9eb/www.mydomain.co.uk/web/custom/include/generic/SugarWidgets/SugarWidgetSubPanelTopExelExportBtn.php on line 0 [2018-05-17 10:08:29] display_stack_trace caller, file: /www/sites/cfa/9eb/www.mydomain.co.uk/web/include/utils.php line#: 3533
Has anyone got any ideas as to what has caused this or to point me in the right direction please.
I have done a rebuild & repair but no joy.
Many tanks in advance,
Last Edit: 4 days 13 hours ago by pgr. Reason: add code tags
The administrator has disabled public write access.
Sorry, just noticed your error is in a custom file.
You need to update your custom code to make it compatible with the "display" function header that you're redefining. Normally this is easy, you just add the other parameters (even if you don't use them).