On 5/23/2019 at 10:24 PM, MR M said:Hello all, I got the some as above problem but its bit different
please anyone can help me to solve it
if possible explain step by step so i can do it
thanks and regards
[PrestaShopDatabaseException]
Unknown column 'id_paypal_order' in 'field list'
SELECT id_paypal_order FROM `ps_paypal_order` WHERE (id_order = 9) LIMIT 1
at line 746 in file classes/db/Db.php
741. if ($webservice_call && $errno) { 742. $dbg = debug_backtrace(); 743. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 744. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 745. if ($sql) { 746. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 747. } 748. 749. throw new PrestaShopDatabaseException($this->getMsgError()); 750. } 751. }
- DbCore->displayError - [line 378 - classes/db/Db.php] - [1 Arguments]
- DbCore->query - [line 645 - classes/db/Db.php] - [1 Arguments]
- DbCore->getRow - [line 678 - classes/db/Db.php] - [2 Arguments]
- DbCore->getValue - [line 140 - modules/paypal/classes/PaypalOrder.php] - [1 Arguments]
- PaypalOrder::loadByOrderId - [line 1331 - modules/paypal/paypal.php] - [1 Arguments]
- PayPal->hookDisplayAdminOrder - [line 924 - classes/Hook.php] - [1 Arguments]
- HookCore::coreCallHook - [line 328 - classes/Hook.php] - [3 Arguments]
- HookCore::callHookOn - [line 860 - classes/Hook.php] - [3 Arguments]
- HookCore::exec - [line 165 - config/smarty.config.inc.php] - [3 Arguments]
- smartyHook - [line 83 - classes/Smarty/SmartyLazyRegister.php] - [2 Arguments]
- SmartyLazyRegister->__call - [line 1334 - var/cache/dev/smarty/compile/79/c3/f4/79c3f4a635031d25f5509e459f0602613d1b8726_0.file.view.tpl.php] - [2 Arguments]
- Block_7921671195ce468e9379654_15855508->callBlock - [line 247 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [1 Arguments]
- Smarty_Internal_Runtime_Inheritance->callBlock - [line 183 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [2 Arguments]
- Smarty_Internal_Runtime_Inheritance->process - [line 185 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [3 Arguments]
- Smarty_Internal_Runtime_Inheritance->process - [line 157 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [2 Arguments]
- Smarty_Internal_Runtime_Inheritance->instanceBlock - [line 34 - var/cache/dev/smarty/compile/bd/cc/4d/bdcc4dd6c40c04c020fed8c8e9402fb0b6793b84_0.file.view.tpl.php] - [3 Arguments]
- content_5ce294ef35ef41_34226729 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments]
- Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments]
- Smarty_Template_Compiled->render - [line 206 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments]
- Smarty_Internal_Template->render - [line 365 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php]
- Smarty_Internal_Template->_subTemplateRender - [line 127 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [10 Arguments]
- Smarty_Internal_Runtime_Inheritance->endChild - [line 40 - var/cache/dev/smarty/compile/79/c3/f4/79c3f4a635031d25f5509e459f0602613d1b8726_0.file.view.tpl.php] - [2 Arguments]
- content_5ce468e954b849_67733849 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments]
- Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments]
- Smarty_Template_Compiled->render - [line 206 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments]
- Smarty_Internal_Template->render - [line 232 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [2 Arguments]
- Smarty_Internal_TemplateBase->_execute - [line 116 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [5 Arguments]
- Smarty_Internal_TemplateBase->fetch - [line 113 - classes/helper/Helper.php]
- HelperCore->generate - [line 59 - classes/helper/HelperView.php]
- HelperViewCore->generateView - [line 2425 - classes/controller/AdminController.php]
- AdminControllerCore->renderView - [line 1910 - controllers/admin/AdminOrdersController.php]
- AdminOrdersControllerCore->renderView - [line 2073 - classes/controller/AdminController.php]
- AdminControllerCore->initContent - [line 255 - classes/controller/Controller.php]
- ControllerCore->run - [line 428 - classes/Dispatcher.php]
- DispatcherCore->dispatch - [line 99 - admin/index.php]
Hello,
I have the same error after an upgrade from 1.6.1.8 to 1.7.6.2., can you solve it and how ?
For information, the table exist and the ID order also.
Thanks