Health Check Error: Found ‘get_subpanel_data’ with ‘function’

    Overview

    The Health Check wizard must be run when upgrading to evaluate whether your instance is suitable for upgrade. During the health check, various types of issues may be detected which can affect your ability to upgrade. This article will cover how to resolve a Found ‘get_subpanel_data’ with ‘function’ error reported by the health check.

    Symptoms

    This error generates an output similar to the following in health check:

    image1new

    Resolution

    The generated error message will help determine the contents of the file causing the health check error. The code-level customization will need to be removed from Sugar before proceeding with the upgrade.

    Breakdown of health check error:

    • The file causing the error can be found in ./custom/Extension/modules/Accounts/Ext/Layoutdefs/_overrideAccount_subpanel_contacts.php.
    • The health check detects the following issue:

    To address the health check error, you may first want to identify if the offending file is part of an incompatible integration. If so, please uninstall that integration to attempt to remove this file. If the error persists or the file is not part of an integration, the custom code can be commented out or removed from the file. Alternatively, the file can also be moved to a “Disabled” directory within the current directory (e.g. ./custom/Extension/modules/Accounts/Ext/Layoutdefs/Disabled). Please note that performing one of these actions will disable the custom functionality in Sugar.

    Once the necessary change has been made, please navigate to Admin > Repair and perform a “Quick Repair and Rebuild” to ensure that the changes are synced between the application and database. Then, perform the health check again to confirm that the error is no longer reported.

    in Troubleshooting Health Check Output

    Reach out to us for help