- Issue created by @mr_fenix
- 🇺🇦Ukraine mr_fenix
This patch will fix the dependency and argument constructor bug.
- 🇺🇦Ukraine mr_fenix
This will be difficult to test because another error will appear there.
Error: Call to a member function id() on null in Drupal\user_revision\Form\UserRevisionRevertForm->buildForm() (line 102 of /var/www/html/web/modules/contrib/user_revision/src/Form/UserRevisionRevertForm.php).
Error: Call to a member function id() on null in Drupal\user_revision\Form\UserRevisionDeleteForm->buildForm() (line 96 of /var/www/html/web/modules/contrib/user_revision/src/Form/UserRevisionDeleteForm.php).
Please use the same steps to reproduce it.
The attached to this comment patch will fix it. - Status changed to Needs review
8 months ago 9:42pm 18 June 2024 - 🇺🇦Ukraine mr_fenix
Unfortunately, there is a third error that will appear and prevent to test
InvalidArgumentException: The timestamp must be numeric. in Drupal\Component\Datetime\DateTimePlus::createFromTimestamp() (line 201 of /var/www/html/web/core/lib/Drupal/Component/Datetime/DateTimePlus.php).
The patch attached to the comment will fix this issue too.
And as a result it will be possible to see the result of all previous fixes on UI too.Please use the same reproduction for the error.
- Issue was unassigned.
- First commit to issue fork.
- 🇮🇳India dipakmdhrm
All 3 patches from #3, #4 & #5 need to be applied after one another to fix this. The MR combines the patches.