"Drupal\geolocation_search_api\Plugin\views\argument\SearchApiLocationRadius" does not exist

Created on 1 June 2025, 3 months ago

Problem/Motivation

ReflectionException: Class
"Drupal\geolocation_search_api\Plugin\views\argument\SearchApiLocationRadius" does not
exist in
drupal-10.4.x/html/core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php:139

Steps to reproduce

drush en geolocation_search_api

Source files have search_api_location_views class but the name of the module is geolocation_search_api.

The module and class path have to match right?

Proposed resolution

The Problem: Namespace Mismatch
Your file declares:

namespace Drupal\search_api_location_views\Plugin\views\argument;

but error says it is looking for this:
Drupal\geolocation_search_api\Plugin\views\argument\SearchApiLocationRadius

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.0

Component

Geolocation Field / Backend

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

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

Comments & Activities

Production build 0.71.5 2024