Hi iam relative new and i would like help regarding the short by functions in my website
I use joomla 3.9.20 and virtuemart 3.8.4
In the frond end when i click the ordering button to short the products by price, name or anything it gives error
Notice: Undefined offset: 13 in /home/......./......./components/com_virtuemart/router.php on line 381
Notice: Undefined offset: 13 in /home/......./......./components/com_virtuemart/router.php on line 384
Notice: Undefined property: VirtuemartViewCategory::$search in /home/......./......./templates/xenon/html/com_virtuemart/category/default.php on line 347
The lines in router.php are
if(strpos($segments[$i+1],',')!==false){
$vars[ $segments[$i] ] = explode(',',$segments[$i+1]);
} else {
$vars[ $segments[$i] ] = $segments[$i+1];
I use the xenon virtuemart tempalte
In configuration i have the Product Sort Order Settings by default to ordering
Any help appreciated
Solved
I had accidently deactivated the SEO in virtue mart configuration.
After enabling it everything works fine regarding the sort by field.
Quote from: anhel on November 14, 2021, 09:53:53 AM
Hi iam relative new and i would like help regarding the short by functions in my website
I use joomla 3.9.20 and virtuemart 3.8.4
In the frond end when i click the ordering button to short the products by price, name or anything it gives error
Notice: Undefined offset: 13 in /home/......./......./components/com_virtuemart/router.php on line 381
Notice: Undefined offset: 13 in /home/......./......./components/com_virtuemart/router.php on line 384
Notice: Undefined property: VirtuemartViewCategory::$search in /home/......./......./templates/xenon/html/com_virtuemart/category/default.php on line 347
The lines in router.php are
if(strpos($segments[$i+1],',')!==false){
$vars[ $segments[$i] ] = explode(',',$segments[$i+1]);
} else {
$vars[ $segments[$i] ] = $segments[$i+1];
I use the xenon virtuemart tempalte
In configuration i have the Product Sort Order Settings by default to ordering
Any help appreciated
Solved or not ?
Jörgen @ Kreativ Fotografi