Jump to content

PHP warning in header


vahidafshari

Recommended Posts

Apparently it has an old override with a deprecated function. Perhaps that override comes from an old module not updated to Prestashop 1.5. Now the good function is : hook::exec($hook_name, $hook_args = array(), $id_module = null).
So, it can to update the override to replace the old function with the new one but it is more efficient to update the module.

Link to comment
Share on other sites

Apparently it has an old override with a deprecated function. Perhaps that override comes from an old module not updated to Prestashop 1.5. Now the good function is : hook::exec($hook_name, $hook_args = array(), $id_module = null).

So, it can to update the override to replace the old function with the new one but it is more efficient to update the module.

you mean i have to edit header.tpl and change the hookexec to hook::exec?

Link to comment
Share on other sites

  • 6 years later...

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...