Tiago Pais Posted August 4 Share Posted August 4 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 More sharing options...
Andrei H Posted August 4 Share Posted August 4 (edited) 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 August 4 by Andrei H (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted August 5 Share Posted August 5 1 Link to comment Share on other sites More sharing options...
bera_ramazan Posted August 5 Share Posted August 5 Hello, you can use this module. I will release a new update very soon. pcSitemapModule.zip Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now