- π¦πΉAustria mvonfrie
I just got this error on Drupal 10.3.1 with PHP 8.2.2.
Error: Call to undefined function Drupal\redirect\Entity\redirect_sort_recursive() in Drupal\redirect\Entity\Redirect::generateHash() (line 71 of modules/contrib/redirect/src/Entity/Redirect.php).
Drupal\redirect\Entity\Redirect::generateHash('user', Array, 'en') (Line: 67)
Drupal\redirect\RedirectRepository->findMatchingRedirect('user', Array, 'en') (Line: 145)
Drupal\redirect\EventSubscriber\RedirectRequestSubscriber->onKernelRequestCheckRedirect(Object, 'kernel.request', Object) (Line: 78)
Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy->dispatch(Object, 'kernel.request') (Line: 134)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 705)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Happening against Drupal 9.0.3 PHP 7.3.19
Haven't really investigated but it looks like the .module file hasn't been included yet at the time of that call.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I just got this error on Drupal 10.3.1 with PHP 8.2.2.