Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Enabling Page Title Module causes all of the products in my store to not be accessed. Here is the message I get:
Fatal error: Call to a member function get_option() on a non-object in /Users/johncashman/Sites/acquia-drupal/sites/all/modules/page_title/modules/views.page_title.inc on line 47
When I turn off the Page Titles Module, the issue goes away.
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedHmm, perhaps it's a Views 3-beta2 compatibility thing? I'm not sure what Page Title is actually attempting in this alter function, so I'll move to the project's queue.
For reference: we have updated all of our Views and various handlers to be compatible with the latest Views dev work. I'm not sure what the get_option() method is supposed to be used for in this case, and with just that error message, I really can't tell which one of our Views or handlers would be conflicting.
Comment #2
ymazigo CreditAttribution: ymazigo commentedsame to me please help modules\page_title\modules\views.page_title.inc on line 47
Comment #3
ymazigo CreditAttribution: ymazigo commentedi comment out line 47 from
$pattern = $view->display->handler->get_option('page_title_pattern');
to
//$pattern = $view->display->handler->get_option('page_title_pattern');
work for me for now but we need real solution
Comment #4
jcashrowing CreditAttribution: jcashrowing commentedThanks, let us know when it's out of the queue. The page titles still work in terms of naming a product and having it reflect in the head tag but won't accept the global settings from the Page Title modules.
JC
Comment #5
ChristopheDG CreditAttribution: ChristopheDG commentedSame problem here! I hope this gets fixed soon
Comment #6
Shadlington CreditAttribution: Shadlington commentedSubbing