0

I have a problem with Magento 1.9.2.4, I can't figure out how to fix it:

2017-07-13T18: 37: 13 + 00: 00 ERR (3): Notice: Undefined variable: _link in /var/www/html/xxxxxxx.it/app/design/frontend/intenso/petmuffin/template/aw_autorelated/ Blocks/product/product.phtml on line 55

Thank's

0

This Happens when you try to use a variable that wasn't previously defined !

Go to : app/design/frontend/intenso/petmuffin/template/aw_autorelated/Blocks/product/product.phtml then you will find some variable not defined, define it and the message disappears.

Exemple :

foreach ($items as $item) {
    // ...
    $iterator++;
}

// the correction:

$iterator = 0;
foreach ($items as $item) {
    // do something with item
    $iterator++;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.