7.10.9 Upgrade Bug - causes some accounts to receive error message

Updated to 7.10.9 and had trouble accessing a few accounts. Kept getting error message - try later and turn off ajax. Some accounts were working fine and some generated the error message.

It looks like a bug in the file: include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButtonAccount.php

Line 58 is missing the opening “{” at the end of the if statement. Which resulted in the following error in the logs:
PHP Parse error: syntax error, unexpected ‘return’ (T_RETURN), expecting function (T_FUNCTION) in /var/www/html/area-vacations/suitecrm/include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButtonAccount.php on line 61, referer: https://www.xxxxxx.com/suitecrm/index.php?action=ajaxui

Hope this helps.

Thanks, this is a known issue, and it is already fixed for the next version.

I’ve encountered this exactly when I’ve put a parent company to an Account.

The “child” account is accessible, but the parent gets exactly this error when I click on it.

Dont know if it can help the dev…

Hope it will be fix soon!

It is already fixed, as I said:


It’s quite easy to apply manually, in case any of you wants the fix immediately.

1 Like