- Issue created by @andreadruiz
- 🇦🇷Argentina Markisich Gualeguaychu
Apparently as of php 8.1 the current() function no longer supports an object as parameter, you can try the following:
$route_params = current((array) \Drupal::routeMatch()->getParameters());
- Assigned to abhishek_virasat
- Issue was unassigned.
- Status changed to Needs review
10 months ago 5:28am 17 January 2024 - 🇮🇳India abhishek_virasat
@andreadruiz, I have fixed the issue and created Patch. Please kindly review the Patch file
- 🇦🇷Argentina andreadruiz Buenos Aires
Thanks @Markisich!
I am adding the patch with the possible solution.
@abhishek_gupta1 I couldn't see your patch. Could you check if it was uploaded correctly? thanks!