- Issue created by @2dareis2do
- 🇬🇧United Kingdom 2dareis2do
same here
https://www.drupal.org/project/remote_stream_wrapper/issues/3399953 📌 PHP 8.2 compatibility Needs review
- Status changed to Closed: duplicate
11 months ago 8:50pm 6 February 2024
When running on php 8.2, I am noticing the following:
Deprecated function: Creation of dynamic property Drupal\remote_stream_wrapper\StreamWrapper\HttpStreamWrapper::$context is deprecated in Drupal\Core\Image\Image->__construct() (line 54 of /httpdocs/web/core/lib/Drupal/Core/Image/Image.php)
#0 /httpdocs/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real()
#1 [internal function]: _drupal_error_handler()
#2 /httpdocs/web/core/lib/Drupal/Core/Image/Image.php(54): filesize()
#3 /httpdocs/web/core/lib/Drupal/Core/Image/ImageFactory.php(85): Drupal\Core\Image\Image->__construct()
#4 /httpdocs/web/core/modules/image/src/Plugin/Field/FieldType/ImageItem.php(327): Drupal\Core\Image\ImageFactory->get()
#5 /httpdocs/web/core/lib/Drupal/Core/Field/FieldItemList.php(233): Drupal\image\Plugin\Field\FieldType\ImageItem->preSave()
#6 /httpdocs/web/core/lib/Drupal/Core/Field/FieldItemList.php(191): Drupal\Core\Field\FieldItemList->delegateMethod()
#7 /httpdocs/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(938): Drupal\Core\Field\FieldItemList->preSave()
#8 /httpdocs/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(888): Drupal\Core\Entity\ContentEntityStorageBase->invokeFieldMethod()
#9 /httpdocs/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(529): Drupal\Core\Entity\ContentEntityStorageBase->invokeHook()
#10 /httpdocs/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(753): Drupal\Core\Entity\EntityStorageBase->doPreSave()
#11 /httpdocs/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(483): Drupal\Core\Entity\ContentEntityStorageBase->doPreSave()
#12 /httpdocs/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(806): Drupal\Core\Entity\EntityStorageBase->save()
#13 /httpdocs/web/core/modules/media/src/MediaStorage.php(29): Drupal\Core\Entity\Sql\SqlContentEntityStorage->save()
#14 /httpdocs/web/core/lib/Drupal/Core/Entity/EntityBase.php(352): Drupal\media\MediaStorage->save()
#15 /httpdocs/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(237): Drupal\Core\Entity\EntityBase->save()
#16 /httpdocs/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(175): Drupal\migrate\Plugin\migrate\destination\EntityContentBase->save()
#17 /httpdocs/web/core/modules/migrate/src/MigrateExecutable.php(248): Drupal\migrate\Plugin\migrate\destination\EntityContentBase->import()
#18 /httpdocs/web/modules/custom/streatham_rss_feeds/streatham_rss_feeds.module(58): Drupal\migrate\MigrateExecutable->import()
#19 /httpdocs/web/core/lib/Drupal/Core/Cron.php(335): streatham_rss_feeds_cron()
#20 /httpdocs/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Cron->Drupal\Core\{closure}()
#21 /httpdocs/web/core/lib/Drupal/Core/Cron.php(318): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#22 /httpdocs/web/core/lib/Drupal/Core/Cron.php(159): Drupal\Core\Cron->invokeCronHandlers()
#23 /httpdocs/web/core/lib/Drupal/Core/ProxyClass/Cron.php(75): Drupal\Core\Cron->run()
#24 /httpdocs/web/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php(65): Drupal\Core\ProxyClass\Cron->run()
#25 [internal function]: Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate()
#26 /httpdocs/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#27 /httpdocs/vendor/symfony/http-kernel/HttpKernel.php(115): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#28 /httpdocs/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(63): Symfony\Component\HttpKernel\HttpKernel->terminate()
#29 /httpdocs/web/core/lib/Drupal/Core/DrupalKernel.php(688): Drupal\Core\StackMiddleware\StackedHttpKernel->terminate()
#30 /httpdocs/web/index.php(22): Drupal\Core\DrupalKernel->terminate()
#31 {main}
Closed: duplicate
2.0
Code
same here
https://www.drupal.org/project/remote_stream_wrapper/issues/3399953 📌 PHP 8.2 compatibility Needs review