mollie / PrestaShop

iDEAL, Creditcard, Bancontact, SOFORT, Bank transfer, PayPal & paysafecard for Prestashop
http://www.mollie.com
BSD 2-Clause "Simplified" License
69 stars 44 forks source link

Use of deprecated hook actionFrontControllerAfterInit instead of actionFrontControllerInitAfter #782

Closed wouwouwou closed 1 year ago

wouwouwou commented 1 year ago

Expected behaviour

No PHP warning where the use of the deprecated hook is mentioned.

Actual behaviour

PHP warning appears containing the following:

The hook "actionFrontControllerAfterInit" is deprecated, please use "actionFrontControllerInitAfter" instead in module "mollie".

Steps to reproduce the behaviour

Looking at the PHP error log after loading any page in the front-office.

Environment

Other remarks

I have already tried solving this in production (yes, I know, risky and potentially breaking) by:

This issue seems is non-breaking as far as I can see. Nevertheless, fixing this would clean up error logs.

justelis22 commented 1 year ago

Hi there @wouwouwou,

We are planning to include the fix in the upcoming release.

Once it is done, we will let you know!

Best Regards, Invertus Support team.

justelis22 commented 1 year ago

Hi there, Thanks for waiting!

The issue should be fixed in the new release. You can try it out here - https://github.com/mollie/PrestaShop/releases/tag/v6.0.4-beta

Your feedback is greatly appreciated.

Best Regards, Invertus Support team.