Error on handleViewsExposedFormSubmit parameter type

Created on 11 December 2024, 7 days ago

Problem/Motivation

After installing the module I get the following error:
TypeError: Drupal\views_pretty_paths\PathProcessor\ViewsPrettyPathProcessor::handleViewsExposedFormSubmit(): Argument #2 ($form_state) must be of type Drupal\views_pretty_paths\PathProcessor\FormStateInterface, Drupal\Core\Form\FormState given, called in /var/www/web/modules/contrib/views_pretty_paths/views_pretty_paths.module on line 71 in Drupal\views_pretty_paths\PathProcessor\ViewsPrettyPathProcessor->handleViewsExposedFormSubmit() (line 506 of modules/contrib/views_pretty_paths/src/PathProcessor/ViewsPrettyPathProcessor.php).

Steps to reproduce

Install the module using composer
composer require 'drupal/views_pretty_paths:^1.0'

Enable it via drush:
drush en views_pretty_paths

Access a page with a view and see the error.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇷Brazil mauriciopieper

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

Comments & Activities

Production build 0.71.5 2024