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

rszrama’s picture

Title: Confilict with Page Titles Module » Confilict with the Commerce module
Project: Commerce Core » Page Title
Version: 7.x-1.0-beta3 » 7.x-2.x-dev
Component: Product » Code

Hmm, 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.

ymazigo’s picture

same to me please help modules\page_title\modules\views.page_title.inc on line 47

ymazigo’s picture

Version: 7.x-2.x-dev » 7.x-2.4-beta1
Assigned: Unassigned » ymazigo

i 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

jcashrowing’s picture

Thanks, 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

ChristopheDG’s picture

Same problem here! I hope this gets fixed soon

Shadlington’s picture

Subbing