Problem/Motivation
I get this error
Deprecated function: Creation of dynamic property Drupal\filebrowser\FilebrowserUninstallValidator::$entityQuery is deprecated in Drupal\filebrowser\FilebrowserUninstallValidator->__construct() (line 33 of modules/contrib/filebrowser/src/FilebrowserUninstallValidator.php).
Drupal\filebrowser\FilebrowserUninstallValidator->__construct(Object, Object) (Line: 259)
Drupal\Component\DependencyInjection\Container->createService(Array, 'filebrowser.uninstall.validator') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('filebrowser.uninstall.validator', 1) (Line: 440)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 273)
Drupal\Component\DependencyInjection\Container->createService(Array, 'drupal.proxy_original_service.module_installer') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('drupal.proxy_original_service.module_installer') (Line: 64)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->lazyLoadItself() (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 502)
Drupal\system\Form\ModulesListForm->submitForm(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('system_modules', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 182)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | filebrowser-3393684.patch | 1.97 KB | paulrad |
Issue fork filebrowser-3393684
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
clivesj commentedCan you give me the steps to reproduce this? I can not.
Thanks
Comment #3
trickfun commentedNew Drupal 10 installation.
When i enable any module i get this error.
Thank you
Comment #4
clivesj commentedI get it now: This is due PHP >=8.2
I will come back with a patch shortly.
Comment #7
shreya_th commentedHi @clivesj,
I have fixed this issue and also created MR for this issue i.e. "Deprecated function: Creation of dynamic property". Kindly review the changes .
Thank you!
Comment #8
viren18febs commentedHi @trickfun
#6 MR is fixed the issue for me, please review.
Comment #9
paulrad commentedTested locally and can confirm that the issue is resolved by @Shreya_th's merge request.
Moving to RTBC
Comment #10
trickfun commentedCan you provide a patch?
Thank you
Comment #11
paulrad commentedSure, @trickfun. Feel free to use it.
Comment #12
trickfun commentedIt works.
thank you
Comment #14
clivesj commentedComment #16
joseph.olstad