Jump to content

Errore sconti quantità


Dave1987

Recommended Posts

Ciao a tutti,

qualcuno mi sa dire come risolvere questo errore?

 

[PrestaShopException]

Method of module cannot be found

at line 856 in file controllers/admin/AdminModulesController.php

851. 

852.                         $echo = '';

853.                         if ($key != 'update' && $key != 'updateAll' && $key != 'checkAndUpdate') {

854.                             // We check if method of module exists

855.                             if (!method_exists($module, $method)) {

856.                                 throw new PrestaShopException('Method of module cannot be found');

857.                             }

858. 

859.                             if ($key == 'uninstall' && !Module::getPermissionStatic($module->id, 'uninstall')) {

860.                                 $this->errors[] = Tools::displayError('You do not have permission to uninstall this module.');

861.                             }

  • AdminModulesControllerCore->postProcessCallback - [line 1116 - controllers/admin/AdminModulesController.php]1111.             }
  • 1112.         }
  • 1113. 
  • 1114.         // Call appropriate module callback
  • 1115.         if (!isset($ppm_return)) {
  • 1116.             $this->postProcessCallback();
  • 1117.         }
  • 1118. 
  • 1119.         if ($back = Tools::getValue('back')) {
  • 1120.             Tools::redirectAdmin($back);
  • 1121.         }
  •  
  • AdminModulesControllerCore->postProcess - [line 178 - classes/controller/Controller.php]173.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
  • 174.                 $this->setMedia();
  • 175.             }
  • 176. 
  • 177.             // postProcess handles ajaxProcess
  • 178.             $this->postProcess();
  • 179. 
  • 180.             if (!empty($this->redirect_after)) {
  • 181.                 $this->redirect();
  • 182.             }
  • 183. 
  •  
  • ControllerCore->run - [line 367 - classes/Dispatcher.php]362.             if (isset($params_hook_action_dispatcher)) {
  • 363.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
  • 364.             }
  • 365. 
  • 366.             // Running controller
  • 367.             $controller->run();
  • 368.         } catch (PrestaShopException $e) {
  • 369.             $e->displayMessage();
  • 370.         }
  • 371.     }
  • 372. 
  •  
  • DispatcherCore->dispatch - [line 58 - admin/index.php]53. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) {
  • 54.     $_REQUEST['controller'] = strtolower($_REQUEST['tab']);
  • 55. }
  • 56. 
  • 57. // Prepare and trigger admin dispatcher
  • 58. Dispatcher::getInstance()->dispatch();

 

Il tutto mi è apparso all'aggiornamento di un modulo gratuito per sconti quantità.

 

Grazie, Davide

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...