Created on 26 October 2017, almost 7 years ago
Updated 27 January 2024, 8 months ago

Using this module give me this error when trying too visit the Views page. Any idea of what it could be?

Error: Call to undefined method Drupal\views_parity_row\Plugin\views\Entity\Render\TranslationLanguageRenderer::preRenderByRelationship() in /Users/home_folder/Projects/drupal_site/core/modules/views/src/Plugin/views/row/EntityRow.php on line 182 #0 /Users/home_folder/Projects/drupal_site/core/modules/views/src/Plugin/views/style/StylePluginBase.php(432): Drupal\views\Plugin\views\row\EntityRow->preRender(Array)
#1 /Users/home_folder/Projects/drupal_site/core/modules/views/src/ViewExecutable.php(1494): Drupal\views\Plugin\views\style\StylePluginBase->preRender(Array)
#2 /Users/home_folder/Projects/drupal_site/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2380): Drupal\views\ViewExecutable->render()
#3 /Users/home_folder/Projects/drupal_site/core/modules/views/src/ViewExecutable.php(1648): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#4 /Users/home_folder/Projects/drupal_site/core/modules/views_ui/src/ViewUI.php(601): Drupal\views\ViewExecutable->preview('default', Array)
#5 /Users/home_folder/Projects/drupal_site/core/modules/views_ui/src/ViewPreviewForm.php(60): Drupal\views_ui\ViewUI->renderPreview('default', Array)
#6 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/Entity/EntityForm.php(115): Drupal\views_ui\ViewPreviewForm->form(Array, Object(Drupal\Core\Form\FormState))
#7 /Users/home_folder/Projects/drupal_site/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#8 [internal function]: Drupal\views_ui\ViewFormBase->buildForm(Array, Object(Drupal\Core\Form\FormState), 'default')
#9 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/Form/FormBuilder.php(514): call_user_func_array(Array, Array)
#10 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/Form/FormBuilder.php(364): Drupal\Core\Form\FormBuilder->retrieveForm('view_preview_fo...', Object(Drupal\Core\Form\FormState))
#11 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/Form/FormBuilder.php(621): Drupal\Core\Form\FormBuilder->rebuildForm('view_preview_fo...', Object(Drupal\Core\Form\FormState), Array)
#12 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/Form/FormBuilder.php(314): Drupal\Core\Form\FormBuilder->processForm('view_preview_fo...', Array, Object(Drupal\Core\Form\FormState))
#13 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/Controller/FormController.php(74): Drupal\Core\Form\FormBuilder->buildForm('view_preview_fo...', Object(Drupal\Core\Form\FormState))
#14 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#15 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#16 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#17 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#18 /Users/home_folder/Projects/drupal_site/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom dieppon

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Christian.wiedemann

    I updated the patch. In my case a taxonomy view without relationships crash with the "Drupal\views_parity_row\Plugin\views\Entity\Render\TranslationLanguageRenderer::preRenderByRelationship() in"

    The patch fixes the issue.

  • Status changed to Needs review over 1 year ago
  • πŸ‡¨πŸ‡­Switzerland weri

    I updated the patch for the latest version of views_parity_row.

  • Status changed to RTBC 11 months ago
  • πŸ‡¨πŸ‡­Switzerland weri

    The patch from Christian.wiedemann (mine is similar) looks good to me and it solves the problem. Hope you can merge it soon.

  • Status changed to Needs work 11 months ago
  • πŸ‡§πŸ‡ͺBelgium Pol Brussels

    Hi,

    What are the advantages of providing a patch, it gives you more work, no? What are the benefits?
    Anyway, could you please provide a MR instead so we can review/merge it?

    Thanks!

  • First commit to issue fork.
  • @karlshea opened merge request.
  • Status changed to RTBC 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States karlshea Minneapolis πŸ‡ΊπŸ‡Έ

    > What are the advantages of providing a patch, it gives you more work, no? What are the benefits?

    Until we can target a specific change from GitLab it can be less risky to reference a patch in composer instead of a GitLab diff which can change at any time.

    In any case, now there's a MR.

  • πŸ‡§πŸ‡ͺBelgium Pol Brussels

    No that's wrong. You CAN actually target a specific change in Gitlab.

    For example, the commit you just created in your MR, add a `.patch` at the end, and you have your patch!

    => https://git.drupalcode.org/project/views_parity_row/-/commit/7e3d97c8e3c...

  • πŸ‡«πŸ‡·France dqd London | N.Y.C | Paris | Hamburg | Berlin

    Anything what holds back to merge to latest dev to be fixed?

Production build 0.71.5 2024