- Issue created by @sashainparis
- First commit to issue fork.
- 🇬🇧United Kingdom adaddinsane
The issue is avoided by adding a "$context" property in the CloudinaryStreamWrapper so that it's not dynamic.
https://www.drupal.org/project/cloudinary/issues/3013451 →
This issue introduced the context property.
I have this error message because of using PHP 8.2:
Deprecated function: Creation of dynamic property Drupal\cloudinary_stream_wrapper\StreamWrapper\CloudinaryStreamWrapper::$context is deprecated in Drupal\Core\Image\Image->__construct() (line 54 of core/lib/Drupal/Core/Image/Image.php).
I can't find any place where "context" is actually used in the Wrapper.
Can't we just get rid of it?
If one can show me where is it used indeed, I'll be glad to add the property.
Active
3.0
Code
The issue is avoided by adding a "$context" property in the CloudinaryStreamWrapper so that it's not dynamic.