Problem
I wanted to install the module.
Steps to reproduce
After install using composer, I just wanted to go to config page /admin/config/par
Error in log
Error : Call to undefined method Drupal\par\ParService::t() dans Drupal\par\ParService->getAccessLabelById() (/home2/atwh9578/test2.badmoc.fr/modules/contrib/par/src/ParService.php ligne 268)
#0 /home2/atwh9578/test2.badmoc.fr/modules/contrib/par/src/Form/ConfigForm.php(161): Drupal\par\ParService->getAccessLabelById()
#1 [internal function]: Drupal\par\Form\ConfigForm->buildForm()
#2 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/Form/FormBuilder.php(531): call_user_func_array()
#3 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/Form/FormBuilder.php(278): Drupal\Core\Form\FormBuilder->retrieveForm()
#4 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#5 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#6 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#7 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#8 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#9 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#10 /home2/atwh9578/test2.badmoc.fr/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#11 /home2/atwh9578/test2.badmoc.fr/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#12 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#13 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#14 /home2/atwh9578/test2.badmoc.fr/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#15 /home2/atwh9578/test2.badmoc.fr/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#16 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#17 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#18 /home2/atwh9578/test2.badmoc.fr/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#19 /home2/atwh9578/test2.badmoc.fr/core/lib/Drupal/Core/DrupalKernel.php(709): Stack\StackedHttpKernel->handle()
#20 /home2/atwh9578/test2.badmoc.fr/index.php(19): Drupal\Core\DrupalKernel->handle()
#21 {main}
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | undefined-method-3322301-3.patch | 632 bytes | samitk |
Issue fork par-3322301
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:
- 3322301-error--call
changes, plain diff MR !4
Comments
Comment #2
samitk commentedComment #3
samitk commentedError Fixed.
Comment #7
rsych commentedThank you, applied.
Comment #8
rsych commentedDeployed within new release 3.0.4.
Comment #10
jeremy.zimmermann commentedHi,
I just tested, it works well.
Thank you!