Jump to content

After confirm order appear a page with Error Server 500


Recommended Posts

Hi,

 

I have Prestashop 1.6.0.9. After a client confirm his order appear a page with Error Server 500. 

 

config/defines.inc.php 

define('_PS_MODE_DEV_', true);

 

Notice: Undefined offset: 0 in classes/Cart.php on line 1440

 
[PrestaShopDatabaseException]
 
Unknown column 'round_mode' in 'field list'
 
at line 639 in file classes/db/Db.php
639. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
 
DbCore->displayError - [line 333 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 613 - classes/db/Db.php] - [1 Arguments]
DbCore->q - [line 398 - classes/db/Db.php] - [2 Arguments]
DbCore->insert - [line 480 - classes/ObjectModel.php] - [3 Arguments]
ObjectModelCore->add - [line 304 - classes/order/Order.php] - [2 Arguments]
OrderCore->add - [line 335 - classes/PaymentModule.php]
PaymentModuleCore->validateOrder - [line 59 - modules/cashondelivery/controllers/front/validation.php] - [9 Arguments]
CashondeliveryValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php]
ControllerCore->run - [line 374 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]

 

You have any hints?

 

Thank you!

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

  • 2 weeks later...
  • 2 weeks later...

The solution could be to

 

add column "round_mode" in table "ps_orders"

 

and could be provably also

 

add column "id_tax_rules_group" in table "ps_order_detail"

 

As stated on:

https://www.prestashop.com/forums/topic/394979-solucionado-error-500-m%C3%B3dulo-bank-wire-transferencia-bancaria-prestashop-16011/

Thanks! But can you explain how can I add these columns?

Link to comment
Share on other sites

×
×
  • Create New...