You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Warning: Invalid argument supplied for foreach() in /homepages/44/

Started by djliquid, September 15, 2011, 05:43:32 AM

Previous topic - Next topic


QuoteWarning: Invalid argument supplied for foreach() in /homepages/44/d90092464/htdocs/ on line 739


Lines 738-746:
// Search  Virtuemart itemID in joomla menu
[b] foreach ($items as $item) {[/b]
$view = $item->query['view'] ;
if ($view=='virtuemart') $this->menu['virtuemart'][] = $item->id;

if ( isset($item->query['virtuemart_'.$view.'_id']) )
$this->menu['virtuemart_'.$view.'_id'][ $item->query['virtuemart_'.$view.'_id'] ] = $item->id;
else $this->menu['virtuemart_'.$view]= $item->id ;

This is the 4th site I've attempted VM 2 and this is the first I've tried the migration from J1.5.23 and VM 1.19 and the first time I've seen this error.

As usual, any insight is greatly appreciated. Example page:



this stupid this disappeared all by itself after I tinkered with the menus.

false alarm


Should I fix your bug, please support the VirtueMart project and become a member
Extensions approved by the core team: