PHP 8.3 Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Overview
Using civicrm 5.69.3, php 8.3, smarty 3 (using civicrm.settings.php)
Reproduction steps
- Created a code snippet to send a simple simple email using CRM_Utils_Mail::Send()
- The html should have some tokens
- In the received email I see above error
Current behaviour
Email has text as Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /var/www/html/my_site/vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Expected behaviour
No error should be reported in the email sendout.
Environment information
- CiviCRM: 5.69.3
- PHP: 8.3
- CMS: Drupal 10.2.2
- Database: _MySQL 8
- Web Server: _Apache 2.4