After using an install profile that includes the latest 7.x-2.x-dev dev branch (Jan 19th) of Panelizer amongst other modules, I have the following error as soon as I try to access the site.

Call to undefined function page_manager_term_view_get_type() in /sites/all/modules/contrib/panelizer/plugins/entity/PanelizerEntityTaxonomyTerm.class.php on line 97

Comments

twistor’s picture

Status: Active » Needs review
StatusFileSize
new699 bytes

I have no idea yet if this is a deeper issue. I'm new to this codebase. But, this is working for me.

merlinofchaos’s picture

ACtually that fix would be really bad.

Try page_manager_get_task('term_view') instead.

twistor’s picture

That makes sense. Thanks.

exratione’s picture

Patch in #3 works for me; I'd done something different as a workaround, but the posted patch is much better.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed and pushed.

Status: Fixed » Closed (fixed)

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

enrique.delgado’s picture

I applied #3, but I also had to make the code change in one more place to make it work (patch attached). Is that just me? It looks like page_manager_term_view_get_type() is not defined anywhere in my Drupal site.

socialnicheguru’s picture

Issue summary: View changes

It is defined here: ctools/page_manager/plugins/tasks/term_view.inc:298:function page_manager_term_view_get_type() {