Hi I am trying to use this module but am getting the following error:

Fatal error: Call to undefined function _pt2pl_flatten_menu_array() in /home/mysite/public_html/sites/all/modules/pt2ami/pt2ami.module on line 56

I have uninstalled both Primary Term and Primary Term to Active Menu Item and reinstalled. The fatal error comes up when when I try to configure the module. I cannot find any documentation on this error.

D

Comments

Jasu_M’s picture

Apparently this is caused by a wrong function name, change line 56 (in release 1.0, not CVS) from

    $items += _pt2pl_flatten_menu_array($item['below'], $depth + 1);

to

    $items += _pt2ami_flatten_menu_array($item['below'], $depth + 1);

and it seems to work.

blanesworld’s picture

This works. Thanks