Could there be a bug in 7.7.5 Security Groups? I recently experimented with adding and then removing a security group and afterwards discovered that I’ve lost sub-panels on some custom modules.
The html for the panels loads but not the data. I found this in the server log:
PHP Notice: Undefined variable: module_sub_panels in /var/www/----/sugar/include/SubPanel/SubPanelTiles.php on line 391, referer: http://----/sugar/index.php?module=SecurityGroups&action=EditView&return_module=SecurityGroups&return_action=DetailView
and also this
PHP Warning: array_map(): Argument #2 should be an array in /var/www/----/sugar/include/SubPanel/SubPanelTiles.php on line 391, referer: http://----/sugar/index.php?module=SecurityGroups&action=EditView&return_module=SecurityGroups&return_action=DetailView
And the Sugar error is:
[FATAL] In getEntryList
Missing relationship definition mycustom_module_offices. skipping attorneys_offices subpanel
None of the repair options resolve the issue.