Jump to content

Error 500 in order history


klasjulius

Recommended Posts

hi horiatb,

 

i turned on debug modus and got following errors:

  1. in smarty_internal_templatebase.php line 449
  2. at Smarty_Internal_TemplateBase->registerPlugin('function', 'convertPrice', array(object(SmartyLazyRegister), 'convertPrice')) in smarty.config.inc.php line 128
  3. at smartyRegisterFunction(object(SmartyDev), 'function', 'convertPrice', array('Product', 'convertPrice'), true, object(SmartyLazyRegister)) in PDF.php line 76
  4. at PDFCore->__construct(object(PrestaShopCollection), 'Invoice', object(SmartyDev)) in PdfInvoiceController.php line 72
  5. at PdfInvoiceControllerCore->display() in Controller.php line 225
  6. at ControllerCore->run() in Dispatcher.php line 379
  7. at DispatcherCore->dispatch() in index.php line 28

any help?

 

bye

Klaus

Link to comment
Share on other sites

  • 1 month later...

Hello,

 

I have this same problem, just turned on debug mode and this is the error i get:

 

[PrestaShopException]

Property Address->vat_number is empty.
at line 944 in file classes/ObjectModel.php

939.             }
940. 
941.             $message = $this->validateField($field, $this->$field);
942.             if ($message !== true) {
943.                 if ($die) {
944.                     throw new PrestaShopException($message);
945.                 }
946.                 return $error_return ? $message : false;
947.             }
948.         }
949. 

 

I have the default theme installed, but this error happens hen i go to my account -> order history and details and click on the "reorder" button on any of my processed orders.

 

Any1 can help me out? :/

Link to comment
Share on other sites

Hello,

 

I have changed the proposed file but still throwing the same error, there's a slight difference between the post you referred where the error is provoked by the field  id_country and my error which is provoked by :

 

Property Address->vat_number is empty.

 

It may be the same thing, but still the fix you proposed didnt work for me :/

 

 

 

 

Link to comment
Share on other sites

I've come a long way with Prestashop 1.7, solving many problems I've encountered during development, but still can't figure out how to solve this one.

 

I'd appreciate if someone could take his/her time to point me in the right direction to solve this issue.

 

Please!

Link to comment
Share on other sites

  • 2 years later...
On 4/15/2018 at 5:38 AM, Nicolai_P said:

I've come a long way with Prestashop 1.7, solving many problems I've encountered during development, but still can't figure out how to solve this one.

 

I'd appreciate if someone could take his/her time to point me in the right direction to solve this issue.

 

Please!

I have a similar issue when I try to access to order-history in frontend an error is displayed and I am not sure the reason. attach the error, maybe someone has the same issue.

error2.png

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...