Getting this error when visiting the amdinistration page of a view that has views_infinite_scroll enabled:

Fatal error: Call to undefined function Drupal\views_infinite_scroll\Plugin\views\pager\format_plural() in /modules/views_infinite_scroll/src/Plugin/views/pager/InfiniteScroll.php on line 96

Comments

luksak’s picture

Status: Active » Needs review
StatusFileSize
new2.3 KB

The attached patch fixes the issue for me.

r.aubin’s picture

Hey Lukas, thanks for opening this separate ticket, but looks like you included the patch from #2486541 in this one too. It should contain only the change from format_plural() to \Drupal::translation()->formatPlural.

luksak’s picture

StatusFileSize
new1.13 KB

Sorry for that. somehow I got mixed up filing all the issues here...

sam152’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.