Closed (fixed)
Project:
Page Title
Version:
7.x-2.4-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2011 at 09:28 UTC
Updated:
12 Jul 2011 at 11:02 UTC
| ( ! ) 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.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-Page-title-bug-fix.patch | 999 bytes | weynhamz |
Comments
Comment #1
mhunt commentedThanks for submitting this. That worked for me.
Comment #2
LaurenH commentedThis also worked for me. Thanks a bunch!
Comment #3
ss81 commentedThanks! It works for me too.
Comment #4
j0rd commentedResolves my problem. I'd say commit this, because right now page_title is broken when someone is using views.
Comment #5
bocaj commentedWorked for me as well!
Comment #6
karma.code commentedWorked for me. Please commit to next release. Thanks!
Comment #7
mattys commentedwould 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
Comment #8
scottm316 commented+1 for me. Thanks!
Comment #9
mudsurfer commentedsubscribing
Comment #10
nicholasthompsonThis 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.