Call to undefined function Drupal\recurly\pager_default_initialize()

Created on 21 June 2023, over 1 year ago
Updated 22 June 2023, over 1 year ago

Problem/Motivation

When browse to /user/{user}/subscription/invoices url, I am getting
Error: Call to undefined function Drupal\recurly\pager_default_initialize() in Drupal\recurly\RecurlyPagerManager->pagerResults() (line 44 of modules/contrib/recurly/src/RecurlyPagerManager.php).

Steps to reproduce

Proposed resolution

replace pager_default_initialize($total, $per_page); by
\Drupal::service('pager.manager')->createPager($total, $per_page);

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: outdated

Version

4.0

Component

Code

Created by

🇧🇩Bangladesh shafiqhossain

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

Comments & Activities

Production build 0.71.5 2024