Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2013 at 08:42 UTC
Updated:
27 Mar 2017 at 18:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rossb89 commentedI just encountered this issue myself, as a warning (PHP 5.4x)
Here is a simple patch, simply checking if $this->query is null, then create a new stdClass before $this->query->pager = $this->display_handler->get_plugin('pager'); is called.
Comment #2
rossb89 commentedComment #3
ann b commentedPatch #1 worked for me. Thanks ross.
Comment #4
killes@www.drop.org commentedSpoke to some maintainers:
08:07 < dawehner> killes: and its wrong, it should call $this->init_query() first
Comment #5
nbourdial commentedHi !
Facing the same issue, here is the simple updated patch with:
Correct patch attached.
Thanks
Comment #6
nbourdial commentedHum, this way is better...
Comment #7
harivenuvhi,
Try this.
Comment #8
rreiss commented#7 Works for me.
Changed status to RTBC.
I think this should be committed to the latest dev. branch.
Thanks.
Comment #9
damienmckennaThere's no need for both !isset() and empty().
Comment #11
damienmckennaCommitted. Thanks.