BUG when accesing from Phoca Galery Tree
Posted: 17 Jul 2008, 19:40
Hello,
I've install Phoca Galery, add Category, insert images in Category. Also I have Phoca Galery Tree module.
When I click on Category in Galery tree I get this notice :
_________
Notice: Trying to get property of non-object in xxxxx\components\com_phocagallery\views\category\view.html.php on line 214
_________
After looking at line 214, the code is :
$this->_addBreadCrumbs($category, isset($menu->query['id']) ? $menu->query['id'] : 0, $display_cat_name_breadcrumbs);
and $menu is deffined as :
$menus = &JSite::getMenu();
$menu = $menus->getActive();
I think that problemm is that there is NO ACTIVE menu when I'm accessing from Galery tree.
Good work Phoca team.
Regards,
M.
I've install Phoca Galery, add Category, insert images in Category. Also I have Phoca Galery Tree module.
When I click on Category in Galery tree I get this notice :
_________
Notice: Trying to get property of non-object in xxxxx\components\com_phocagallery\views\category\view.html.php on line 214
_________
After looking at line 214, the code is :
$this->_addBreadCrumbs($category, isset($menu->query['id']) ? $menu->query['id'] : 0, $display_cat_name_breadcrumbs);
and $menu is deffined as :
$menus = &JSite::getMenu();
$menu = $menus->getActive();
I think that problemm is that there is NO ACTIVE menu when I'm accessing from Galery tree.
Good work Phoca team.
Regards,
M.