Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Subpanel Error

Subpanel Error 5 months 5 days ago #66067

  • Ronskie
  • Ronskie's Avatar
  • Online
  • New Member
  • Posts: 6
  • Karma: 0
Hi everyone,
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,
Ron
Last Edit: 5 months 5 days ago by pgr. Reason: add code tags
The administrator has disabled public write access.

Subpanel Error 5 months 5 days ago #66085

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
This is already fixed, which version are you running?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Subpanel Error 5 months 5 days ago #66088

  • Ronskie
  • Ronskie's Avatar
  • Online
  • New Member
  • Posts: 6
  • Karma: 0
Hi pgr,

Many thanks for getting back to me so quickly.
Currently running;
SuiteCRM Version 7.10.4
Sugar Version 6.5.25 (Build 344)
PHP 7.0

Hope that helps?

Any pointers you can offer would be appreciated.

Thank you
The administrator has disabled public write access.

Subpanel Error 5 months 5 days ago #66094

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
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).

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Subpanel Error 5 months 5 days ago #66095

  • Ronskie
  • Ronskie's Avatar
  • Online
  • New Member
  • Posts: 6
  • Karma: 0
Hi pgr,

Please forgive me but a bit of a beginner here.
Not 100% sure what you mean.

Many thanks in advance
The administrator has disabled public write access.

Subpanel Error 5 months 5 days ago #66096

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
Call the guy who wrote your custom code, and tell him to fix it (update it to match the SuiteCRM upgrade you made).

You see, the bug is not in SuiteCRM, it's in something that was done in your company, in this file:

/web/custom/include/generic/SugarWidgets/SugarWidgetSubPanelTopExelExportBtn.php

It could also be part of an Add-on you installed. From the file name, it seems to be some kind of button to facilitate exporting to Excel from the subpanels.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Subpanel Error 5 months 5 days ago #66101

  • Ronskie
  • Ronskie's Avatar
  • Online
  • New Member
  • Posts: 6
  • Karma: 0
Thank you pgr

Your help has been very appreciated.
The administrator has disabled public write access.
Time to create page: 0.057 seconds
Powered by Kunena Forum