• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 06.11.23, 12:55
  • Opened by: morgan media SL

Ticket #25033 - Smarty "html_entity_decode" as a modifier is deprecated

Hi!

I’m receiving this error message in the backoffice and the shop of my prestashop:

Deprecated: Using php-function “html_entity_decode” as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in ../vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 114

The server is using PHP 8.1 and PS 8.0.4, but i cannot find the way to update this file, because is not from PS (as long as i understand)

So is there a way to correct this error (maybe updating the files)?

Thanks!

Comments

Fred 06 Nov 2023, 21:05

Hi, morgan media SL.
That’s just a suggestion that some function will not work in future.
Try to disable Debug mode to not see it. That’s not a bug