Error while searching

Created on 25 March 2025, 18 days ago

Problem/Motivation

Error came out when searching with Advanced Language Selector dropdown block enabled.

Error: Call to undefined method Drupal\search\Entity\SearchPage::hasTranslation() in Drupal\advanced_language_selector\Plugin\Block\LanguageSelectorBlock->getCurrentUri() (line 411 advanced_language_selector/src/Plugin/Block/LanguageSelectorBlock.php)

Steps to reproduce

  1. Enable search block
  2. Enable advanced language selector block
  3. Search something
  4. Error
🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

🇲🇾Malaysia akmalfikri

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

Comments & Activities

Production build 0.71.5 2024