Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Field style_options is deprecated when used like $style_options = $this->view->style_options;
in module code for views 3. It also will occur then that
$this->view->plugin_name plugin_name is unknown variable
what makes sense regarding this issue.
From what I think I assume that views_infinite_scroll is not finished updating code style to the latest views version.
We need to replace:
$this->view->style_options
with$this->view->style_plugin->options
$this->view-> plugin_name
with$this->view->style_plugin->plugin_name
Thanks for spending time on declaring this in IRC with me to @dawehner (views maintainer)
Patch will follow ...
Comment | File | Size | Author |
---|---|---|---|
#2 | replace_style_options_and_plugin_name-2454067-9730063.patch | 848 bytes | dqd |
Comments
Comment #1
dqdComment #2
dqdpatch rolled against latest 7.x dev branch from git ...
Comment #3
dawehnerSeems legit
Comment #4
Honza Pobořil CreditAttribution: Honza Pobořil as a volunteer commented