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:

  1. $this->view->style_options with $this->view->style_plugin->options
  2. $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 ...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dqd’s picture

Issue summary: View changes
dqd’s picture

Component: Documentation » Code
Status: Active » Needs review
FileSize
848 bytes

patch rolled against latest 7.x dev branch from git ...

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Seems legit

Honza Pobořil’s picture

Status: Reviewed & tested by the community » Closed (outdated)