Closed (fixed)
Project:
Page Title
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2011 at 17:19 UTC
Updated:
12 Jul 2011 at 11:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
franravi commentedI subscribe.
I got this error message:
Fatal error: Call to a member function get_option() on a non-object in *******/sites/all/modules/page_title/modules/views.page_title.inc on line 47
'handler' property seems to not be an object when called for a 'views' module's view.
Comment #2
timtunbridge commentedDitto - just upgraded to views 7.x-3.0-beta3 and I too get :
Fatal error: Call to a member function get_option() on a non-object in /var/www/vhosts/rosespeopleofthewinds.com/httpdocs/sites/all/modules/page_title/modules/views.page_title.inc on line 47
Turn off Page Titles and the view works OK.
But Page Titles was working on the version of Views prior (beta2?).
Comment #3
ggarcia commentedI've come across this problem too, I'm investigating it, but for now you can solve it by editing the file and changing the line 47 to look like this:
NOTE: Careful I have no idea what this causes to the modules or page title display, apparently this will make that patters will be disable for the views
Comment #4
TimeRaider commentedSubscribe
Comment #5
mstrelan commentedSubscribe
Comment #6
chris.slater commentedsubscribe
Comment #7
grahamgilchrist commentedsubscribe
Comment #8
jeffwidman commentedsubscribe
Comment #9
Kaideane commented@ggarcia Thanks for the temporary tweak, at least my views can render as intended with custom page titles for the meantime.
Subscribe.
Comment #10
houston_we_have_a_problem commentedsubscribe
Comment #11
sutharsan commentedWith the current dev release of Page Title the page view is displayed as it should. But due to the changes in the Views object structure, the Views page title code can not work correctly. The attached patch modifies the code to match the latest Views object structure, but is not tested.
Comment #12
davidbarbarisi@gmail.com commentedsubscribe.
Comment #13
anthonyR commentedsubscribe
Comment #14
sutharsan commentedDuplicated by #1129998: Getting an error
Duplicated by #1137814: Strange error suddenly appears in my site
Comment #15
dgautsch commentedsubscribed
Comment #16
dawehnerThis should be display_handler instead of display_hander
Comment #17
dawehnerUpdate status.
Comment #18
krak commentedsubscribe
Comment #19
kostajh commentedAfter editing the line that dereine pointed out in #16, the patch works fine.
Comment #20
Ravi.J commentedcleaned up patch, the previous patches did not apply cleanly
Comment #21
WillHall commentedFixed it for me. ty.
Comment #22
girishmuraly commentedHere is the same patch of #20 applied for users on 7.x-2.4-beta1 version only
Comment #23
pineiden commentedIt works fine!
Thanks!
Comment #24
rkendall commentedThanks for the fix. Did the trick for me.
Anything stopping this being applied now?
Comment #25
kolier commentedworking +1.
Comment #26
nicholasthompsonThis is fixed in dev and is a duplicate of #1099792: Notice: Undefined property and Notice: Trying to get property of non-object and #1170592: Fatal error: Call to a member function get_option() on a non-object in views.page_title.inc.
A tagged release is imminent.
Cheers guys.