- Issue created by @lukasz.tyc
- Merge request !26Issue #3465159 by lukasz.tyc: Error: Call to a member function getParameter()... β (Open) created by lukasz.tyc
- Status changed to Needs review
9 months ago 9:05am 1 August 2024 - Status changed to RTBC
9 months ago 9:07am 1 August 2024 - πΊπ¦Ukraine rollins
Changes from MR make sense
It will avoid error message about getParameter() - π³π±Netherlands inascon
Neither of the patches worked for me. Attached a patch I now use which solves the problem for me.
I hope this helps to solves the problem. - π§πͺBelgium f2boot
Patch in #7 is working for me
(aligning with changes in page_manger since patch from Path has unnecessary query appended is committed) - π¨π¦Canada joseph.olstad
joseph.olstad β made their first commit to this issueβs fork.
- Merge request !29Issue #3465159 by lukasz.tyc: Error: Call to a member function getParameter()... β (Open) created by joseph.olstad
- π±πΉLithuania k-l
None of the patches worked on Drupal 10.3.12, Panels 4.8, Panelizer 4.5.0.
Simple `Powered By Drupal` block was added to new empty panel and error occurred when saving panel:
Drupal\Component\Plugin\Exception\PluginNotFoundException: Plugin ID 'eae2393c-52b3-4d7a-a134-f9af02ec7aec' was not found. in Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin() (line 79 of core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php). Drupal\Component\Plugin\LazyPluginCollection->get('eae2393c-52b3-4d7a-a134-f9af02ec7aec') (Line: 19) Drupal\ctools\Plugin\BlockPluginCollection->get('eae2393c-52b3-4d7a-a134-f9af02ec7aec') (Line: 43) Drupal\ctools\Plugin\DisplayVariant\BlockDisplayVariant->getBlock('eae2393c-52b3-4d7a-a134-f9af02ec7aec') (Line: 55) Drupal\panels_ipe\Helpers\UpdateLayoutRequestHandler::updatePanelsDisplay(Object, Array) (Line: 24) Drupal\panels_ipe\Helpers\UpdateLayoutRequestHandler->updateLayout(Object, Array, ) (Line: 13) Drupal\panels_ipe\Helpers\UpdateLayoutRequestHandler->handle(Object, Array, ) (Line: 49) Drupal\panels_ipe\Helpers\RequestHandlerBase->handleRequest(Object, Object) (Line: 251) Drupal\panels_ipe\Controller\PanelsIPEPageController->handleUpdateLayoutRequest('panelizer_default', '*node:11878:full:default', Object)
When adding Content -> ID block (to simply show node id) after clicking `Add` block button:
Drupal\Component\Plugin\Exception\MissingValueContextException: Required contexts without a value: entity in Drupal\Core\Plugin\Context\ContextHandler->applyContextMapping() (line 150 of core/lib/Drupal/Core/Plugin/Context/ContextHandler.php). Drupal\panels_ipe\Form\PanelsIPEBlockPluginForm->buildBlockInstance(Object, Object) (Line: 331) Drupal\panels_ipe\Form\PanelsIPEBlockPluginForm->submitForm(Array, Object, Object) call_user_func_array(Array, Array) (Line: 69) Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse(Object, Array, Object, Array) (Line: 112) Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber->onException(Object, 'kernel.exception', Object) call_user_func(Array, Object, 'kernel.exception', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.exception') (Line: 239) Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object, Object, 1) (Line: 91)
- π¦πΉAustria mvonfrie
Same for me, but a combination of #7 and #8 works. In addition we have to consider that the change from
page_manager_page
to_page_manager_page
only has been introduced recently: π Path has unnecessary query appended. Fixed . I try to create a new patch by tomorrow. - π¨π¦Canada joseph.olstad
Haven't looked closely however I did look at the pipeline. In the unit tests I'm seeing two additional fails with the latest commit. Not sure if it's related but could be.
- π¦πΉAustria mvonfrie
@joseph.olstad, view modes should not be affected by this if they weren't by patch #7 and #8 individually. In the MR I see two older commits merged by you starting with "Issue #3470578 and Issue #3465159" and two older commits starting with "Issue #3456918". So the branch dedicated for this issue (
3465159-error-call-to
) contains changes for two other issues as well. Maybe the additional test failures are related to those commits, or maybe there are incompatible changes on the main branch and the working branch3465159-error-call-to
should be rebased to incorporate those changes? - Status changed to Needs review
19 days ago 3:06pm 14 April 2025 - First commit to issue fork.
- Merge request !31Issue #3465159 by lukasz.tyc: Error: Call to a member function getParameter()... β (Open) created by anairamzap
- π¦π·Argentina anairamzap Buenos Aires
Hi everyone, we needed to fix this for a project so I've created a new branch and a MR that includes changes from #2, #7 and #8.
Also changing the version to latest 8.x-4.x dev (since the MR branch is based on that branch).Updated the fork to include the latest security changes.
Tested the patch on a brand new D10 test site using 8.x-4.x-dev and on a project using the 8.x-4.9 β .
- π¨πΊCuba ccolumbie
I upgraded to panels 4.9.0 and I'm using panelizer 4.4, although I also tried 4.5.
After applying the patches to avoid getParameter() errors, when creating a new block or using an existing one, ONLY ON NEW NODES, when trying to save changes with panel ipe I get a 500 error on URLs like the following: http://localhost:8080/admin/panels_ipe/variant/panelizer_default/*node:3... and the following response:
The website encountered an unexpected error. Try again later.Drupal\Component\Plugin\Exception\PluginNotFoundException: Plugin ID '4badb79d-a544-43f0-8e04-27528643c832' was not found. in Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin() (line 79 of core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php).
Drupal\Component\Plugin\LazyPluginCollection->get('4badb79d-a544-43f0-8e04-27528643c832') (Line: 19)
Drupal\ctools\Plugin\BlockPluginCollection->get('4badb79d-a544-43f0-8e04-27528643c832') (Line: 43)
Drupal\ctools\Plugin\DisplayVariant\BlockDisplayVariant->getBlock('4badb79d-a544-43f0-8e04-27528643c832') (Line: 55)
Drupal\panels_ipe\Helpers\UpdateLayoutRequestHandler::updatePanelsDisplay(Object, Array) (Line: 24)
Drupal\panels_ipe\Helpers\UpdateLayoutRequestHandler->updateLayout(Object, Array, ) (Line: 13)
Drupal\panels_ipe\Helpers\UpdateLayoutRequestHandler->handle(Object, Array, ) (Line: 49)
Drupal\panels_ipe\Helpers\RequestHandlerBase->handleRequest(Object, Object) (Line: 251)
Drupal\panels_ipe\Controller\PanelsIPEPageController->handleUpdateLayoutRequest('panelizer_default', '*node:3302:full:default', Object) (Line: 287)
Drupal\panels_ipe\Controller\PanelsIPEPageController->handleCreateLayoutRequest('panelizer_default', '*node:3302:full:default', Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
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: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->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: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 31)This doesn't happen in version 4.7.0, but it does starting with 4.8.0. What's the cause and how can I fix it?
- π¨π¦Canada joseph.olstad
@ccolumbie , please try this patch: https://git.drupalcode.org/project/panels/-/merge_requests/31.diff
cd /path/to/ccolumbie/drupal/html/modules/contrib/panels; curl https://git.drupalcode.org/project/panels/-/merge_requests/31.diff > ipe.patch; patch -p1 < ipe.patch;
if curl doesn't work, try wget
cd /path/to/ccolumbie/drupal/html/modules/contrib/panels; wget https://git.drupalcode.org/project/panels/-/merge_requests/31.diff patch -p1 < 31.diff;