Warning: Invalid argument supplied for foreach() in … components\com_content\helpers\route.php on line 135

Joomla requires a menu item for every category. Otherwise, ”

 Warning: Invalid argument supplied for foreach() in … components\com_content\helpers\route.php on line 135

Just create a hidden menu and and Category List type for each category

 

 

Warning: require(__DIR__/invoice_items.php) [function.require]: failed to open stream: No such file or directory in /home/XXXXXX/domains/XXXXXX/public_html/components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php on line 22

 

 

 

In file components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php

replace

Code: [Select]

require(__DIR__.'/invoice_items.php');


with

Code: [Select]


$oldlayout=$this->getLayout();
$this->setLayout('invoice');
echo $this->loadTemplate('items');
$this->setLayout($oldlayout);
edit by Milbo, just directly added the fix

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s