Hi have views setup w/ multiple displays. I am using QuickTabs to display those views/displays. Upon setting up this module, I get this error in the views UI:
Notice: Undefined property: views_plugin_display_default::$default_display in views_plugin_pager_infinite_scroll->render() (line 23 of /home/mysite/public_html/sites/all/modules/views_infinite_scroll/views_plugin_pager_infinite_scroll.inc).
Notice: Trying to get property of non-object in views_plugin_pager_infinite_scroll->render() (line 23 of /home/mysite/public_html/sites/all/modules/views_infinite_scroll/views_plugin_pager_infinite_scroll.inc).
Is this because I have multiple displays using the same module? I don't believe it's an issue with QuickTabs as it shows up in the Views UI right when I choose the Infinite Scroller option and save the view. Yes, Ajax is adjusted as suggested. Any thoughts?
Comment | File | Size | Author |
---|---|---|---|
#9 | remove-unused-variable-style-plugin-1212298-8.patch | 624 bytes | ramlev |
Comments
Comment #1
sw3b CreditAttribution: sw3b commentedI have the same thing and the only i'm using is panel to customize the output of the nodes.
Comment #2
montchr CreditAttribution: montchr commentedI'm having this same problem (with QuickTabs).
Comment #3
aotu CreditAttribution: aotu commentedAlso having this issue. Occurs immediately after activating Views Infinite Scroll.
Ajax is disabled as recommended.
Pretty much a clean install.
Notice: Undefined property: views_plugin_display_default::$default_display in views_plugin_pager_infinite_scroll->render() (line 23 of /home/content/v/i/s/tetrodomains/html/testing/sites/all/modules/views_infinite_scroll/views_plugin_pager_infinite_scroll.inc).
Notice: Trying to get property of non-object in views_plugin_pager_infinite_scroll->render() (line 23 of /home/content/v/i/s/tetrodomains/html/testing/sites/all/modules/views_infinite_scroll/views_plugin_pager_infinite_scroll.inc).
Comment #4
BenK CreditAttribution: BenK commentedYes, I'm also experiencing this error.
Comment #5
mandaved CreditAttribution: mandaved commentedI too am experiencing this error.
I managed to get the scrolling feature working by placing 'jquery.autopager-1.0.0.js' in 'sites/all/libraries/autopager/' but the errors remain at the top of the page.
Any ideas on how I can remove them?
Comment #6
mandaved CreditAttribution: mandaved commentedAnyone???
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedSame here. However, the scrolling works as expected.
Comment #8
klokie CreditAttribution: klokie commentedSame here - even though the scrolling function appears to work fine, I get lots of
... followed by ...
in the recent log messages.
That variable
$style_plugin
defined on line 23 isn't used after that, so I've just commented out the line.Comment #9
ramlev CreditAttribution: ramlev commentedHeres the patch which fixes the problem. The line is removed as told in #8
Comment #10
Remon CreditAttribution: Remon commentedThanks @klokie for figuring this out! really appreciated.