PHP Fatal error: when migrated to Drupal 10

Created on 7 November 2023, about 1 year ago
Updated 23 November 2023, 12 months ago

Problem/Motivation

When migrated to drupal 10 i see error while clearing cache.

Steps to reproduce

PHP Fatal error:  Uncaught TypeError: Cannot assign null to property Drupal\pagerer\PagererManager::$querystringOverride of type bool in /var/www/html/docroot/modules/contrib/pagerer/src/PagererManager.php:47
Stack trace:
#0 /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php(259): Drupal\pagerer\PagererManager->__construct(Object(Drupal\pagerer\PagererParameters), Object(Drupal\Core\Config\ConfigFactory))

Proposed resolution

Add a check in PagererManager.php and PagererParameters.php as:
$settings->get('url_querystring.core_override') ?? FALSE;

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia vakulrai

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024