( ! ) Fatal error: Call to a member function get_option() on a non-object in /srv/http/hongzhen/sites/all/modules/page_title/modules/views.page_title.inc on line 47
Call Stack
# Time Memory Function Location
1 0.0049 334320 {main}( ) ../index.php:0
2 2.8526 19481788 menu_execute_active_handler( ) ../index.php:22
3 8.6436 36857224 drupal_deliver_page( ) ../menu.inc:516
4 8.6438 36857568 drupal_deliver_html_page( ) ../common.inc:2431
5 8.6444 36858104 drupal_render_page( ) ../common.inc:2536
6 9.6347 41537300 drupal_render( ) ../common.inc:5493
7 9.9151 41693536 theme( ) ../common.inc:5632
8 9.9172 41703272 page_title_preprocess_html( ) ../theme.inc:845
9 9.9172 41703272 page_title_page_get_title( ) ../page_title.module:512
10 9.9174 41703988 drupal_alter( ) ../page_title.module:487
11 9.9180 41706092 views_page_title_pattern_alter( ) ../module.inc:1002

Above is the call trace.

Here is a simple patch.

CommentFileSizeAuthor
0001-Page-title-bug-fix.patch999 bytesweynhamz

Comments

mhunt’s picture

Thanks for submitting this. That worked for me.

LaurenH’s picture

This also worked for me. Thanks a bunch!

ss81’s picture

Thanks! It works for me too.

j0rd’s picture

Resolves my problem. I'd say commit this, because right now page_title is broken when someone is using views.

bocaj’s picture

Worked for me as well!

karma.code’s picture

Worked for me. Please commit to next release. Thanks!

mattys’s picture

would be great if this could be committed, don't know how to apply patches!

I've looked at patch tutorials, but not found one i am confident in trying, need one for absolute dummies

scottm316’s picture

+1 for me. Thanks!

mudsurfer’s picture

subscribing

nicholasthompson’s picture

Status: Active » Fixed

This has been committed to -dev... It is also a duplicate of #1099792: Notice: Undefined property and Notice: Trying to get property of non-object (see comment #21). This will be fixed in the 2.4 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.