Error: Call to undefined method Drupal\wse\Diff\Form\WseRevisionOverviewForm::getRevisionIds() in Drupal\wse\Diff\Form\WseRevisionOverviewForm->buildForm() (line 28 of modules/contrib/wse/src/Diff/Form/WseRevisionOverviewForm.php)

Created on 14 April 2025, 13 days ago

Hi,

I discover this error when I use revisions in my content. I click to Revisions tab and this error appears.

Le site Web a rencontrΓ© une erreur inattendue.

Error: Call to undefined method Drupal\wse\Diff\Form\WseRevisionOverviewForm::getRevisionIds() in Drupal\wse\Diff\Form\WseRevisionOverviewForm->buildForm() (line 28 of modules/contrib/wse/src/Diff/Form/WseRevisionOverviewForm.php).
call_user_func_array() (Line: 528)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 279)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 219)
Drupal\Core\Form\FormBuilder->getForm() (Line: 25)
Drupal\wse\Controller\WseDiffNodeRevisionController->revisionOverview()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France dark05

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

Comments & Activities

  • Issue created by @dark05
  • πŸ‡«πŸ‡·France dark05

    Hi,

    I create a patch for fix.

  • πŸ‡·πŸ‡΄Romania amateescu

    You need to upgrade the Diff module to a release that contains this issue: ✨ Allow usage of revision comparison inside workspaces Needs review

  • πŸ‡«πŸ‡·France dark05

    Thanks.

    I test with update Diff module but error persists.

    Error: Call to undefined method Drupal\wse\Diff\Form\WseRevisionOverviewForm::getRevisionIds() in Drupal\wse\Diff\Form\WseRevisionOverviewForm->buildForm() (line 28 of modules/contrib/wse/src/Diff/Form/WseRevisionOverviewForm.php).
    call_user_func_array() (Line: 528)
    Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 279)
    Drupal\Core\Form\FormBuilder->buildForm() (Line: 219)
    Drupal\Core\Form\FormBuilder->getForm() (Line: 25)
    Drupal\wse\Controller\WseDiffNodeRevisionController->revisionOverview()
    call_user_func_array() (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 593)
    Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
    Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
    Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
    Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
    Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)
    Drupal\Core\DrupalKernel->handle() (Line: 19)

  • πŸ‡·πŸ‡΄Romania amateescu

    You probably need to use the dev β†’ version of the Diff module, because the latest tagged release at this time is 2.0.0-beta3, which doesn't contain the fix linked above.

Production build 0.71.5 2024