Deprecated function: Return type of Alchemy\BinaryDriver\Configuration::offsetExists($offset)

Created on 11 July 2023, over 1 year ago
Updated 11 January 2024, 12 months ago

Problem/Motivation

Error after adding video:

Deprecated function: Return type of Alchemy\BinaryDriver\Configuration::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 14 of vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php).
include('/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php') (Line: 571)
Composer\Autoload\includeFile('/vendor/composer/../alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Alchemy\BinaryDriver\Configuration') (Line: 42)
FFMpeg\Driver\FFProbeDriver::create(Array, NULL) (Line: 226)
FFMpeg\FFProbe::create(Array, NULL, Object) (Line: 132)
FFMpeg\FFMpeg::create(Array) (Line: 39)
Drupal\media_thumbnails_video\Plugin\MediaThumbnail\MediaThumbnailVideo->createThumbnail('public://2023-07/test.mp4') (Line: 103)
Drupal\media_thumbnails\Plugin\MediaThumbnailManager->createThumbnail(Object) (Line: 33)
media_thumbnails_media_presave(Object)
call_user_func_array(Object, Array) (Line: 426)
Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension
{closure}(Object, 'media_thumbnails') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('media_presave', Object) (Line: 433)
Drupal\Core\Extension\ModuleHandler->invokeAll('media_presave', Array) (Line: 249)
Drupal\Core\Entity\EntityStorageBase->invokeHook('presave', Object) (Line: 900)
Drupal\Core\Entity\ContentEntityStorageBase->invokeHook('presave', Object) (Line: 563)
Drupal\Core\Entity\EntityStorageBase->doPreSave(Object) (Line: 753)
Drupal\Core\Entity\ContentEntityStorageBase->doPreSave(Object) (Line: 517)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 804)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object) (Line: 29)
Drupal\media\MediaStorage->save(Object) (Line: 339)
Drupal\Core\Entity\EntityBase->save() (Line: 285)
Drupal\Core\Entity\EntityForm->save(Array, Object) (Line: 61)
Drupal\media\MediaForm->save(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('media_video_add_form', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object) (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber
{closure}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇵🇱Poland Krzysztof Domański Poland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Krzysztof Domański
  • Status changed to Closed: won't fix 12 months ago
  • 🇵🇱Poland lamp5 Rzeszow

    It is third party extensions (alchemy/binary-driver) so you should report it on alchemy/binary-driver repository

Production build 0.71.5 2024