Let the platform do the work

Health Check Error: Use of Deprecated Zend Framework Component

Overview

The Health Check wizard must be run when upgrading to evaluate your instance's ability to move to the target version. 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 "Use of deprecated Zend Framework component" error reported by the health check.

Symptoms

This error generates the warning, "Use of deprecated Zend Framework component", in health check.

Resolution

This health check error indicates that your instance is using the SugarUploadS3 class, Zend_Service, Zend_Gdata, and/or Zend_Version framework components, which have been deprecated in 13.2.0 and will be removed in an upcoming release. To address this error, you can either remove the customizations that depend on these components or update the customizations to replace the deprecated components with the recommended alternatives as follows:

  • Zend_Service: The Zend_Service component is used to interact with the Amazon Web Services (AWS). We recommend replacing this component with the official AWS SDK for PHP, which is bundled with Sugar. For more information, refer to the AWS SDK for PHP page on the AWS website. 
  • Zend_Gdata: We recommend replacing the Zend_Gdata component with the official Google API Client, which is bundled with Sugar. For more information on this API, refer to the google-api-php-client page in GitHub. 
  • Zend_Version: The Zend_Version component has a dependency on the other Zend framework components and therefore should not exist alone. There is no recommended replacement for this component, and it should be removed. 
  • SugarUploadS3: If the SugarUploadS3 class is actively used in any customizations, we recommend rewriting the customization to use AWS SDK for PHP instead. For more information, refer to the AWS SDK for PHP page on the AWS website. If the SugarUploadS3 class is not actively used, we recommend removing this class.