ArgumentCountError EventInstanceRevisionRevertTranslationForm

Created on 2 May 2025, 13 days ago

Problem/Motivation

Getting error when visiting eventinstance revision revert form.

ArgumentCountError: Too few arguments to function Drupal\recurring_events\Form\EventInstanceRevisionRevertForm::__construct(), 2 passed in /var/www/html/docroot/modules/contrib/recurring_events/src/Form/EventInstanceRevisionRevertTranslationForm.php on line 47 and exactly 3 expected in Drupal\recurring_events\Form\EventInstanceRevisionRevertForm->__construct() (line 62 of modules/contrib/recurring_events/src/Form/EventInstanceRevisionRevertForm.php).

Steps to reproduce

  • Create eventinstance.
  • Visit events/*/revisions, click on the Revert
  • Error thrown.

Proposed resolution

Fix EventInstanceRevisionRevertTranslationForm constructor.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

2.0

Component

Recurring Events (Main module)

Created by

🇲🇾Malaysia ckng

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024