Jump to content

Upgrade 1.6.1.0 - PrestaVOD Module Notice


Recommended Posts

Notice: Undefined index: quick_access_current_link_name in /home/pcnweb/public/pcnstore.com/public/cache/smarty/compile/96/d1/d8/96d1d8257e2f374960c2a9e082663a3958f6b01f.file.header.tpl.php on line 376

 

Notice: Trying to get property of non-object in /home/pcnweb/public/pcnstore.com/public/cache/smarty/compile/96/d1/d8/96d1d8257e2f374960c2a9e082663a3958f6b01f.file.header.tpl.php on line 376

 

What is the easiest way to fix this and not hose anything? I tried clearing the cache.

Link to comment
Share on other sites

PrestaVOD support replied to my email:

"This is a bug introduced with new PrestaShop version.

It's realy not important (a simple warning because PrestaShop does not check content before calling it).

We made a little patch, and we have to release a new version of PrestaVOD module soon.

Keep in touch through PrestaVOD.com."

Link to comment
Share on other sites

  • 2 weeks later...

Actually, quick_access_current_link_name seems to be a variable from the PrestaVOD module and header.tpl is the template file wher the module tries to access this variable.

The error shows that the template programmer forgot to test if the variable exists before accessing it, like

{$quick_access_current_link_name}

instead of

{if isset($quick_access_current_link_name)}{$quick_access_current_link_name}{/if}

BUT, this is not a PrestaShop bug, it's the template programmer's attention slip, whoever the template programmer would be (probably the PrestaVOD module maker). It's not honest behaviour to claim your error is PrestaShop's error. PrestaShop has enough bugs as it is.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...