hideaki Posted July 13, 2014 Share Posted July 13, 2014 Hi guys, I am getting this error when I am trying to confirm my order with bank wire: [PrestaShopException]Property OrderDetail->product_name is not validat line 837 in file classes/ObjectModel.php 831.832. $message = $this->validateField($field, $this->$field);833. if ($message !== true)834. {835. if ($die)836. throw new PrestaShopException($message);837. return $error_return ? $message : false;838. }839. }840.841. return true; ObjectModelCore->validateFields - [line 255 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 455 - classes/ObjectModel.php] ObjectModelCore->add - [line 417 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 589 - classes/order/OrderDetail.php] OrderDetailCore->create - [line 613 - classes/order/OrderDetail.php] - [7 Arguments] OrderDetailCore->createList - [line 292 - classes/PaymentModule.php] - [7 Arguments] PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Any idea why is this happening? Thanks! You can try it at the site: http://weekend-edition.com/en/12-new-arrival Thanks! Link to comment Share on other sites More sharing options...
hideaki Posted July 13, 2014 Author Share Posted July 13, 2014 Reinstalled the module and cleared cache, but to no avail. More debugging info if this helps: Notice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 119 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-objectNotice on line 350 in file /home/weekende/public_html/cache/smarty/compile/0c/7f/f8/0c7ff8d8e27626cd2303eaf24c06deb2a2ee7f76.file.view.tpl.php[8] Trying to get property of non-object Link to comment Share on other sites More sharing options...
hideaki Posted July 14, 2014 Author Share Posted July 14, 2014 I'm also getting these errors from cron via email if it would help: PHP Notice: Undefined index: REQUEST_URI in /home/weekende/public_html/classes/shop/Shop.php on line 319 <br /> <b>Notice</b>: Undefined index: REQUEST_URI in <b>/home/weekende/public_html/classes/shop/Shop.php</b> on line <b>319</b><br /> PHP Notice: Undefined index: SCRIPT_NAME in /home/weekende/public_html/classes/shop/Shop.php on line 372 <br /> <b>Notice</b>: Undefined index: SCRIPT_NAME in <b>/home/weekende/public_html/classes/shop/Shop.php</b> on line <b>372</b><br /> PHP Notice: Undefined index: SCRIPT_NAME in /home/weekende/public_html/classes/Link.php on line 47 <br /> <b>Notice</b>: Undefined index: SCRIPT_NAME in <b>/home/weekende/public_html/classes/Link.php</b> on line <b>47</b><br /> PHP Notice: Undefined index: SCRIPT_NAME in /home/weekende/public_html/classes/Link.php on line 47 PHP Notice: Undefined index: REQUEST_URI in /home/weekende/public_html/classes/controller/FrontController.php on line 278 PHP Notice: Undefined index: REQUEST_URI in /home/weekende/public_html/classes/controller/FrontController.php on line 287 PHP Notice: Undefined index: REQUEST_URI in /home/weekende/public_html/classes/controller/FrontController.php on line 336 <br /> <b>Notice</b>: Undefined index: SCRIPT_NAME in <b>/home/weekende/public_html/classes/Link.php</b> on line <b>47</b><br /> <br /> <b>Notice</b>: Undefined index: REQUEST_URI in <b>/home/weekende/public_html/classes/controller/FrontController.php</b> on line <b>278</b><br /> <br /> <b>Notice</b>: Undefined index: REQUEST_URI in <b>/home/weekende/public_html/classes/controller/FrontController.php</b> on line <b>287</b><br /> <br /> <b>Notice</b>: Undefined index: REQUEST_URI in <b>/home/weekende/public_html/classes/controller/FrontController.php</b> on line <b>336</b><br /> Please, any help where I can start looking for mistakes will be greatly appreciated! Link to comment Share on other sites More sharing options...
bellini13 Posted July 14, 2014 Share Posted July 14, 2014 Property OrderDetail->product_name is not valid What are the names of the products in your cart? Link to comment Share on other sites More sharing options...
hideaki Posted July 14, 2014 Author Share Posted July 14, 2014 Thanks for your reply. On my OPC Shopping Cart Sunmary it's: Faded Short Sleeve T-Shirts Same as the actual product name, looks legit. It seems that payment by Check is also getting this issue. Where else could go wrong? Link to comment Share on other sites More sharing options...
bellini13 Posted July 14, 2014 Share Posted July 14, 2014 Are you doing this in english, or in any other language? Link to comment Share on other sites More sharing options...
hideaki Posted July 14, 2014 Author Share Posted July 14, 2014 Yea, it is in English. Link to comment Share on other sites More sharing options...
hideaki Posted July 14, 2014 Author Share Posted July 14, 2014 Anyone can provide any advice? Running short on time for launch, and I'm faced with this.. Link to comment Share on other sites More sharing options...
hideaki Posted July 14, 2014 Author Share Posted July 14, 2014 Did the hack as shown by removing the validate on product_name: http://www.prestashop.com/forums/topic/299078-property-orderdetail-total-price-tax-excl-is-not-valid/?do=findComment&comment=1734738 Link to comment Share on other sites More sharing options...
bellini13 Posted July 14, 2014 Share Posted July 14, 2014 and did it work? Link to comment Share on other sites More sharing options...
hideaki Posted July 16, 2014 Author Share Posted July 16, 2014 Yes, it did - Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts