Jump to content

Error backOfficeHeader


Tiago Pais

Recommended Posts

Hello! For a few days now I've been experiencing some errors in the prestashop backoffice:

"Unknown error na linha 921 do ficheiro /home/te60r0ob/public_html/classes/Hook.php
[16384] The hook "backOfficeHeader" is deprecated, please use "displayBackOfficeHeader" instead in module "pcsitemap"."

 

Can anyone help?

Link to comment
Share on other sites

Hello,

This isn't really an error, but a deprecation notice. It is only logged as an error and it should not impact your website. Usually, in the development lifecycles, you first deprecate a functionality, then you completely remove it in the next major version (in this case, that specific hook will most likely be removed in PrestaShop 9).

The notice is attributed to the 'pcsitemap' module, due to the fact that it is still using the 'backOfficeHeader' hook. Switching to the 'displayBackOfficeHeader' hook should clear the deprecation notice.

Since this looks like a third party module, you should contact its developer in order to get a fix for it. There's also a possibility you might use an older version of the module and they might already have a fix for it.

Edited by Andrei H (see edit history)
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...