Health Check Error: Use of Removed 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 removed Zend Framework component" error reported by the health check.
Symptoms
This error generates the warning, "Use of removed Zend Framework component", in health check.
Resolution
For Sugar version 25.1.0, this health check error indicates that your instance is using the Zend_Service
, Zend_Gdata
, and Zend_Version
components, which have been removed in 25.1.0. To address this error, please update the customizations to replace these 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.
For Sugar version 13.2.0, this health check error indicates that your instance is using the Zend_Mime
framework component, which has been removed in 13.2.0. We recommend rewriting any customizations using Zend_Mime
and replacing it with the laminas-mime package, which is a direct successor of Zend_Mime
and bundled with Sugar. For more information, please refer to the laminas-mime page on the Laminas documentation website.