- Issue created by @captain_canuck
- Assigned to abhishek_virasat
- Issue was unassigned.
- Status changed to Closed: cannot reproduce
over 1 year ago 9:48pm 4 April 2024 - ๐จ๐ญSwitzerland berdir Switzerland
The method findRedirectByHashes() does not exist in RedirectRepository, you are using patches.
- ๐จ๐ฆCanada captain_canuck
This is the patch I am using, https://git.drupalcode.org/project/redirect/-/merge_requests/70.diff
I have the same problem. Drupal core 10.5.2. How to solve it?
Warning: Undefined variable $current_redirect ะฒ Drupal\redirect\RedirectRepository->findMatchingRedirect() (ัััะพะบะฐ 113 ะธะท /modules/contrib/redirect/src/RedirectRepository.php) #0 /core/includes/bootstrap.inc(166): _drupal_error_handler_real(2, 'Undefined varia...', '/var/www/rc/dat...', 113) #1 /modules/contrib/redirect/src/RedirectRepository.php(113): _drupal_error_handler(2, 'Undefined varia...', '/var/www/rc/dat...', 113) #2 /modules/contrib/easy_breadcrumb/src/EasyBreadcrumbBuilder.php(956): Drupal\redirect\RedirectRepository->findMatchingRedirect('relation/love', Array, 'ru') #3 /modules/contrib/easy_breadcrumb/src/EasyBreadcrumbBuilder.php(510): Drupal\easy_breadcrumb\EasyBreadcrumbBuilder->getRequestForPath('/relation/love', Array) #4 /core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php(85): Drupal\easy_breadcrumb\EasyBreadcrumbBuilder->build(Object(Drupal\Core\Routing\RouteMatch)) #5 /core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php(73): Drupal\Core\Breadcrumb\BreadcrumbManager->build(Object(Drupal\Core\Routing\CurrentRouteMatch)) #6 /core/modules/block/src/BlockViewBuilder.php(171): Drupal\system\Plugin\Block\SystemBreadcrumbBlock->build() #7 [internal function]: Drupal\block\BlockViewBuilder::preRender(Array) #8 /core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array('Drupal\\block\\Bl...', Array) #9 /core/lib/Drupal/Core/Render/Renderer.php(886): Drupal\Core\Render\Renderer->doTrustedCallback('Drupal\\block\\Bl...', Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')