- Issue created by @dewalt
- ๐ฎ๐ณIndia abhishek_virasat
abhishek_gupta1 โ made their first commit to this issueโs fork.
- Merge request !4fix the Deprecated function: Creation of dynamic property... โ (Open) created by abhishek_virasat
- Status changed to Needs review
6 months ago 12:06pm 26 December 2023 - ๐ฎ๐ณIndia abhishek_virasat
@dewalt, I have fixed the issue. please kindly review the MR
- Status changed to Needs work
4 months ago 8:53pm 28 February 2024 - ๐บ๐ธUnited States joelsteidl
I need more information. Can you post a code example that was causing the deprecated function? Zoom API Module and APITools are not setting an
$id
property. Are you setting one? - ๐บ๐ธUnited States SocialNicheGuru
I installed and enabled and have not setup the zoomapi module.
Here is what I get:
ttps://mysite/admin/commerce/config||1||Deprecated function: Creation of dynamic property Drupal\zoomapi\Plugin\ApiTools\Client::$id is deprecated in Drupal\Component\DependencyInjection\Container->createService() (line 285 of drupal10.2.4/html/core/lib/Drupal/Component/DependencyInjection/Container.php) #0 drupal10.2.4/html/core/includes/bootstrap.inc(164): _drupal_error_handler_real()
Mar 7 14:01:17 mysite drupal: #1 drupal10.2.4/html/core/lib/Drupal/Component/DependencyInjection/Container.php(285): _drupal_error_handler()
Mar 7 14:01:17 mysite drupal: #2 drupal10.2.4/html/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
Mar 7 14:01:17 mysite drupal: #3 drupal10.2.4/html/core/lib/Drupal.php(197): Drupal\Component\DependencyInjection\Container->get()
Mar 7 14:01:17 mysite drupal: #4 drupal10.2.4/html/modules/contrib/zoomapi/zoomapi.install(17): Drupal::service()
Mar 7 14:01:17 mysite drupal: #5 [internal function]: zoomapi_requirements()
Mar 7 14:01:17 mysite drupal: #6 drupal10.2.4/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(409): call_user_func_array()
Mar 7 14:01:17 mysite drupal: #7 drupal10.2.4/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}()
Mar 7 14:01:17 mysite drupal: #8 drupal10.2.4/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(408): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
Mar 7 14:01:17 mysite drupal: #9 drupal10.2.4/html/core/modules/system/src/SystemManager.php(109): Drupal\Core\Extension\ModuleHandler->invokeAll()
Mar 7 14:01:17 mysite drupal: #10 drupal10.2.4/html/core/modules/system/src/SystemManager.php(93): Drupal\system\SystemManager->listRequirements()
Mar 7 14:01:17 mysite drupal: #11 drupal10.2.4/html/core/modules/system/src/Controller/SystemController.php(123): Drupal\system\SystemManager->checkRequirements()
Mar 7 14:01:17 mysite drupal: #12 [internal function]: Drupal\system\Controller\SystemController->overview()
Mar 7 14:01:17 mysite drupal: #13 drupal10.2.4/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
Mar 7 14:01:17 mysite drupal: #14 drupal10.2.4/html/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
Mar 7 14:01:17 mysite drupal: #15 drupal10.2.4/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
Mar 7 14:01:17 mysite drupal: #16 drupal10.2.4/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
Mar 7 14:01:17 mysite drupal: #17 drupal10.2.4/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
Mar 7 14:01:17 mysite drupal: #18 drupal10.2.4/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
Mar 7 14:01:17 mysite drupal: #19 drupal10.2.4/html/modules/contrib/simple_oauth/src/HttpMiddleware/BasicAuthSwap.php(54): Symfony\Component\HttpKernel\HttpKernel->handle()
Mar 7 14:01:17 mysite drupal: #20 drupal10.2.4/html/modules/contrib/bat_api/src/StackMiddleware/BatApiMiddleware.php(39): Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle()
Mar 7 14:01:17 mysite drupal: #21 drupal10.2.4/html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Drupal\bat_api\StackMiddleware\BatApiMiddleware->handle()
Mar 7 14:01:17 mysite drupal: #22 drupal10.2.4/html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
Mar 7 14:01:17 mysite drupal: #23 drupal10.2.4/html/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
Mar 7 14:01:17 mysite drupal: #24 drupal10.2.4/html/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
Mar 7 14:01:17 mysite drupal: #25 drupal10.2.4/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
Mar 7 14:01:17 mysite drupal: #26 drupal10.2.4/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
Mar 7 14:01:17 mysite drupal: #27 drupal10.2.4/html/modules/contrib/services/src/StackMiddleware/FormatSetter.php(45): Drupal\page_cache\StackMiddleware\PageCache->handle()
Mar 7 14:01:17 mysite drupal: #28 drupal10.2.4/html/modules/contrib/webform_product/src/RedirectMiddleware.php(43): Drupal\services\StackMiddleware\FormatSetter->handle()
Mar 7 14:01:17 mysite drupal: #29 drupal10.2.4/html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\webform_product\RedirectMiddleware->handle()
Mar 7 14:01:17 mysite drupal: #30 drupal10.2.4/html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
Mar 7 14:01:17 mysite drupal: #31 drupal10.2.4/html/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
Mar 7 14:01:17 mysite drupal: #32 drupal10.2.4/html/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
Mar 7 14:01:17 mysite drupal: #33 drupal10.2.4/html/core/lib/Drupal/Core/DrupalKernel.php(714): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
Mar 7 14:01:17 mysite drupal: #34 drupal10.2.4/html/index.php(19): Drupal\Core\DrupalKernel->handle()
Mar 7 14:01:17 mysite drupal: #35 {main}. - ๐บ๐ธUnited States SocialNicheGuru
The MR yields another error:
/admin/reports/status|https://onebayview.com/|1||Error: Cannot access protected property Drupal\zoomapi\Plugin\ApiTools\Client::$id in Drupal\Component\DependencyInjection\Container->createService() (line 285 of /drupal10.2.4/html/core/lib/Drupal/Component/DependencyInjection/Container.php).
- ๐บ๐ธUnited States joelsteidl
Thanks @SocialNicheGuru! So just confirming that this is a PHP 8.2 issue?