Hi Khal,
I have found and solved your problem.
You had a product (product 122 called
Blue-Tie-Maxi-Dress that was assigned to 3 categories. Unfortunately, one of these was disabled (category 67 called
"Maxi Dresses"). So when the following line of code executed
Code: Select all
$category_info = $this->model_catalog_category->getCategory($parent_id);
a null value is returned for that category (because the query filters to only show active categories) and this null value was stored in the
$category_id variable.
This is used later and causes the exception. The error message below is caused as the "
category_breadcrumb.xml" file uses the
$category_info variable, but does not check if this variable is populated:
Code: Select all
PHP Notice: Undefined index: category_id in /home/khaleeji/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 188
Since you are not using that category for any other product, and since it is disabled, I have removed that category from your "Blue-Tie-Maxi-Dress" product. This will stop the error from occurring, but you must make sure you don't assign any more products to disabled categories until the bug has been fixed by the vqmod author.
Whomever coded your category_breadcrumb.xml vqmod file needs to add some additional checks for disabled categories or null $category_id values.
Also, I have installed a
vQModerator in your administrator's console
here. It will help you manage your vqmods better.
If this fixes your issue, please add [solved] to the subject line of your post.
- Mel