Jump to content

Recommended Posts

Salve,
durante la conferma dell'ordine appaiono questi errori in Debug Mode:

[PrestaShopException]

Errore fatale
at line 1109 in file classes/Tools.php

1104.                 ->getTranslator()
1105.                 ->trans('Fatal error', [], 'Admin.Notifications.Error');
1106.         }
1107. 
1108.         if (_PS_MODE_DEV_) {
1109.             throw new PrestaShopException($errorMessage);
1110.         }
1111. 
1112.         return $errorMessage;
1113.     }
1114. 
  • ToolsCore::displayError - [line 254 - classes/PaymentModule.php]
    249. 
    250.         // Does order already exists ?
    251.         if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) {
    252.             if ($secure_key !== false && $secure_key != $this->context->cart->secure_key) {
    253.                 PrestaShopLogger::addLog('PaymentModule::validateOrder - Secure key does not match', 3, null, 'Cart', (int) $id_cart, true);
    254.                 die(Tools::displayError());
    255.             }
    256. 
    257.             // For each package, generate an order
    258.             $delivery_option_list = $this->context->cart->getDeliveryOptionList();
    259.             $package_list = $this->context->cart->getPackageList();
    
  • PaymentModuleCore->validateOrder - [line 64 - modules/ps_wirepayment/controllers/front/validation.php] - [9 Arguments]
    Argument [0]
    11808
    Argument [1]
    10
    Argument [2]
    990
    Argument [3]
    Bonifico bancario
    Argument [4]
    
    Argument [5]
    Array
    (
        [{bankwire_owner}] => xxx.
        [{bankwire_details}] => Ixxx
    SWIFT: xxx
        [{bankwire_address}] => xxxx
    )
    
    Argument [6]
    1
    Argument [7]
    
    Argument [8]
    0db51a0e343333318b922e1c58afeeb0
    
  • Ps_WirepaymentValidationModuleFrontController->postProcess - [line 270 - classes/controller/Controller.php]
    265.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
    266.                 $this->setMedia();
    267.             }
    268. 
    269.             // postProcess handles ajaxProcess
    270.             $this->postProcess();
    271. 
    272.             if (!empty($this->redirect_after)) {
    273.                 $this->redirect();
    274.             }
    275. 
    
  • ControllerCore->run - [line 511 - classes/Dispatcher.php]
    506.             if (isset($params_hook_action_dispatcher)) {
    507.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
    508.             }
    509. 
    510.             // Running controller
    511.             $controller->run();
    512. 
    513.             // Execute hook dispatcher after
    514.             if (isset($params_hook_action_dispatcher)) {
    515.                 Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);
    516.             }
    
  • DispatcherCore->dispatch - [line 28 - index.php]
    23.  * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
    24.  * International Registered Trademark & Property of PrestaShop SA
    25.  */
    26. 
    27. require(dirname(__FILE__).'/config/config.inc.php');
    28. Dispatcher::getInstance()->dispatch();
  •  

Mentre senza Debug Mode esce un semplice Errore Fatale..

Uso la versione 1.7.5.1

Edited by LuigiD (see edit history)
Link to comment
Share on other sites

13 hours ago, hardware-store said:

per caso hai migrato?

 

Si, con Migration Pro..

Leggendo sul web ho poi scoperto che può portare questo problema..

C'è una soluzione? A cosa serve esattamente questo controllo?

$secure_key !== false && $secure_key != $this->context->cart->secure_key
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...