PHP 8.1: TypeError must be of type int

Created on 1 September 2023, about 1 year ago
Updated 25 November 2023, 12 months ago

There are PHP type errors when using with Pagerer jQueryUI on Drupal 10 with PHP 8.1

TypeError: Drupal\pagerer\PagererManager::getPagererUpdatedParameters(): Argument #3 ($page) must be of type int, string given, called in /var/www/web/modules/contrib/pagerer/src/Plugin/pagerer/PagererStyleBase.php on line 686 in Drupal\pagerer\PagererManager->getPagererUpdatedParameters() (line 101 of modules/contrib/pagerer/src/PagererManager.php).

TypeError: Drupal\pagerer\PagererManager::getHref(): Argument #3 ($page) must be of type int, null given, called in /var/www/web/modules/contrib/pagerer/src/Plugin/pagerer/PagererStyleBase.php on line 705 in Drupal\pagerer\PagererManager->getHref() (line 233 of modules/contrib/pagerer/src/PagererManager.php).
🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇱🇹Lithuania k-l

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