• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #21518 - Promokit Favorites module configuration setting is not working.

Hello,
Promokit Favorites module configuration setting is not working [ Theme Settings —> Promokit Modules —> Promokit Favorites].
When I click on the blue gear icon, a prestashop error page appears with the following message
I ask for support to fix this error,
Thank You very much!

[PrestaShopException]

Method of module cannot be found
at line 896 in file controllers/admin/AdminModulesController.php

891.
892. $echo = ‘‘;
893. if ($key != ‘update’ && $key != ‘updateAll’ && $key != ‘checkAndUpdate’) {
894. We check if method of module exists
895. if (!method_exists($module, $method)) {
896. throw new PrestaShopException(’Method of module cannot be found’);
897. }
898.
899. if ($key == ‘uninstall’ && !Module::getPermissionStatic($module→id, ‘uninstall’)) {
900. $this→errors[] = $this→trans(’You do not have permission to uninstall this module.’, [], ‘Admin.Modules.Notification’);
901. } AdminModulesControllerCore→postProcessCallback - [line 1167 - controllers/admin/AdminModulesController.php]
AdminModulesControllerCore→postProcess - [line 295 - classes/controller/Controller.php]
ControllerCore→run - [line 518 - classes/Dispatcher.php]
DispatcherCore→dispatch - [line 93 - admin/index.php]
//

Attachments:

favorite_module_error.jpg (278.6 KiB)

Comments

Fred 16 May 2021, 19:00

Hi, Gianluca Sangrigoli.
There is no Configuration Page for Favorites module.
We will remove the link from Theme Settings

Gianluca Sangrigoli 16 May 2021, 19:54

Hi Fred,
Thank You very much!
Gianluca

Fred 16 May 2021, 19:55

You are welcome!