I’m currently running SuiteCRM version 7.14.6 with PHP 8.2 and encountering numerous deprecation warnings related to dynamic properties.
Environment Details
- SuiteCRM Version: 7.14.6 (upgraded from 7.12.8)
- PHP Version: 8.2
- Server: WAMP (Windows)
- Database: MySQL
Issues
I’m seeing hundreds of deprecation warnings like these:
[08-Apr-2025 21:23:20] PHP Deprecated: Creation of dynamic property Alert::$required_fields is deprecated in C:\wamp64\www\project\data\SugarBean.php on line 496
[08-Apr-2025 21:22:03] PHP Deprecated: Creation of dynamic property DynamicField::$module is deprecated in C:\wamp64\www\project\modules\DynamicFields\DynamicField.php on line 65
[08-Apr-2025 21:20:28] PHP Deprecated: Creation of dynamic property SugarLogger::$full_log_file is deprecated in C:\wamp64\www\project\include\SugarLogger\SugarLogger.php on line 147
[08-Apr-2025 21:14:25] PHP Deprecated: Creation of dynamic property MysqliManager::$helper is deprecated in C:\wamp64\www\project\include\database\DBManager.php on line 270
I’m seeing blank pages and getting 500 Internal Server Error messages when trying to use the application. I’ve attached a screenshot showing the blank page.
I’ve tried manually adding property declarations to some classes, but there are too many to fix individually.
Actually I upgraded from 7.12.8 to 7.14.6 and started seeing these errors after the upgrade.