You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding the #[\AllowDynamicProperties] attribute to the class (which also applies to all child classes).
Using a WeakMap if additional data needs to be associated with an object which one does not own.
I have noticed two separate instances of this:
PHP Deprecated: Creation of dynamic property MailSo\\Base\\StreamWrappers\\Literal::$context is deprecated in /var/www/html/vendor/afterlogic/mailso/lib/MailSo/Base/StreamWrappers/Literal.php on line 64
PHP Deprecated: Creation of dynamic property MailSo\\Base\\StreamWrappers\\Binary::$context is deprecated in /var/www/html/vendor/afterlogic/mailso/lib/MailSo/Base/StreamWrappers/Binary.php on line 238
The text was updated successfully, but these errors were encountered:
Running version
9.7.8.build11-build-o3
andPHP 8.3.6
(Ubuntu 24.04 LTS).Deprecated since PHP 8.2. As per https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dynamic-properties PHP docs suggest either:
#[\AllowDynamicProperties]
attribute to the class (which also applies to all child classes).I have noticed two separate instances of this:
The text was updated successfully, but these errors were encountered: