Support the VirtueMart project and become a member
Good work, Stan and studio42. the right fix from my point of view is in view.html.php of the category viewaround line 678Code: [Select] $cat = VmModel::getModel('category')->getCategory($last_category_id, false, true); if(empty($cat->virtuemart_category_id) or !$cat->published){ $last_category_id = 0; }I added already a check if the category exists, but forgot to check for published. Another idea to fix is to implement the 3rd parameter to the function getCategory, correctly.
$cat = VmModel::getModel('category')->getCategory($last_category_id, false, true); if(empty($cat->virtuemart_category_id) or !$cat->published){ $last_category_id = 0; }