News:

Looking for documentation? Take a look on our wiki

Main Menu

error on line 81 and 82

Started by Katesx, May 22, 2018, 20:29:27 PM

Previous topic - Next topic

Katesx

Hi everyone! I got the following error
"Notice: Undefined index: id in components\com_virtuemart\helpers\vmtemplate.php on line 81 and 82"

In php file in line 81 and 82, this is what I see:
if(!$template){
vmError( 'getDefaultTemplate failed ' );
return false;
} else {
self::$_home[$client_id] = $template;
self::$_templates[$template['id']] = $template;
return self::$_templates[$template['id']];

It is visible in the sidebar a position
I have joomla 3.8.5 and vm 3.2.12

Could you help me with any suggestions?
Thank you!

jenkinhill

So what PHP version are you using?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Katesx