Jump to content

Edit History

ShopMann

ShopMann

When using some modules, the error log file captures such errors:

[27-Sep-2023 10:02:49 Europe/Berlin] PHP Deprecated:  The hook "displayAdminListBefore" is deprecated, please use "displayAdminGridTableBefore" instead in module "prestaregistrationform". in /www/htdocs/xxxxx/xxx.xx/classes/Hook.php on line 875

I would like to unhook this module from "displayAdminListBefore" and transplate it to "displayAdminGridTableBefore".

The problem is that the hook "displayAdminGridTableBefore" is not present at the hooks (positions) list:

image.thumb.png.cc58e5511cb74243e9907e3d30474e84.png

/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Blocks/table.html.twig :

image.thumb.png.9512b4ea00438e2780c80478f123ce3e.png

Prestashop 8.1.1. 

Was upgraded from Prestashop 1.7.8.10 via 1 Click Upgrade Module 4.16.1 (or 4.16.2 - I don't remember).

Can someone explain what's wrong, what I don't understand and how to fix it?

ShopMann

ShopMann

When using some modules, the error log file captures such errors:

[27-Sep-2023 10:02:49 Europe/Berlin] PHP Deprecated:  The hook "displayAdminListBefore" is deprecated, please use "displayAdminGridTableBefore" instead in module "prestaregistrationform". in /www/htdocs/xxxxx/xxx.xx/classes/Hook.php on line 875

I would like to unhook this module from "displayAdminListBefore" and transplate it to "displayAdminGridTableBefore".

The problem is that the hook "displayAdminGridTableBefore" is not present at the hooks (positions) list:

image.thumb.png.cc58e5511cb74243e9907e3d30474e84.png

/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Blocks/table.html.twig :

image.thumb.png.9512b4ea00438e2780c80478f123ce3e.png

Can someone explain what's wrong, what I don't understand and how to fix it?

Prestashop 8.1.1. 

Was upgraded from Prestashop 1.7.8.10 via 1 Click Upgrade Module 4.16.1 (or 4.16.2 - I don't remember).

ShopMann

ShopMann

When using some modules, the error log file captures such errors:

[27-Sep-2023 10:02:49 Europe/Berlin] PHP Deprecated:  The hook "displayAdminListBefore" is deprecated, please use "displayAdminGridTableBefore" instead in module "prestaregistrationform". in /www/htdocs/xxxxx/xxx.xx/classes/Hook.php on line 875

I would like to unhook this module from "displayAdminListBefore" and transplate it to "displayAdminGridTableBefore".

The problem is that the hook "displayAdminGridTableBefore" is not present at the hooks (positions) list:

image.thumb.png.cc58e5511cb74243e9907e3d30474e84.png

/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Blocks/table.html.twig :

image.thumb.png.9512b4ea00438e2780c80478f123ce3e.png

Can someone explain what's wrong, what I don't understand and how to fix it?

×
×
  • Create New...