Undefined offset problem

papireper

Avatar: papireper

2012-06-10 13:33

Dear All,

I have QuickCart on localhost. Today I got the following notice (both on admin panel and front-end):

Notice: Undefined offset: 6 in C:\Program Files\wamp\www\zdsmag\core\products.php on line 273
Notice: Undefined offset: 8 in C:\Program Files\wamp\www\zdsmag\core\products.php on line 273

Line 273 contains:
$sTree .= '<a href="'.$oPage->aPages[$iPage]['sLinkName'].'">'.$oPage->aPages[$iPage]['sName'].'< ;/a>';

I would be so gateful for any suggestion about the solution!
Thanks in advance!

» Quick.Cart v5.x

boboo

Avatar: boboo

2012-06-10 15:06

quick & dirty:
over this line 273 you have:
if( empty( $sTree ) )
exchange this to:
if(empty($sTree)&&isset($oPage->aPages[$iPage]))

qc-plugins.kimla.de

papireper

Avatar: papireper

2012-06-12 15:08

Thank you so much boboo! :)
The problem has been solved with your kindly help! :)

Back to top
about us | contact