Error Class Url Not Found to Edit search page Content(exclude)

Created on 9 April 2024, 8 months ago
Updated 10 April 2024, 8 months ago

Problem/Motivation

When editing the Content (exclude) search page type in Drupal 10.2.3, the following error occurs:
Error: Class "Drupal\search_exclude\Plugin\Search\Url" not found in Drupal\search_exclude\Plugin\Search\SearchExcludeNodeSearch->buildConfigurationForm() (line 120 of modules/contrib/search_exclude/src/Plugin/Search/SearchExcludeNodeSearch.php)

Steps to reproduce

  1. Go to /admin/config/search/pages
  2. Edit the Content (exclude) page

Proposed resolution

Add the line importing the URL class (use Drupal\Core\Url) to the SearchExcludeNodeSearch.php file.

๐Ÿ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡ทArgentina alekas

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024