Jump to content

Fatal error: Call to undefined method OrderInvoice::getDeliveryNumberFormatted


Recommended Posts

Hi there,
 
I can not open any order in admin -> orders
No matter which one order I want to view, when I click for open, it is showing following error:
 
Fatal error: Call to undefined method OrderInvoice::getDeliveryNumberFormatted() in /web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 2042

 

And 157 line in smarty_internal_templatebase.php is: eval("?>" . $code);

 
if (!$_template->compiled->exists || ($_template->smarty->force_compile && !$_template->compiled->isCompiled)) {
$_template->compileTemplateSource();
$code = file_get_contents($_template->compiled->filepath);
eval("?>" . $code);
unset($code);
$_template->compiled->loaded = true;
$_template->compiled->isCompiled = true;
}

 
I use PS 1.6.0.11

 

How can I fix this problem, please ?

Thanks for any advice !

Link to comment
Share on other sites

same problem here...

 

PHP Fatal error:  Call to undefined method OrderInvoice::getDeliveryNumberFormatted() in /public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 2099

 

Prestashop 1.6.1.7

 

Please help!!!

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

It started after installing custom invoice modul. Something was override in wrong way but I don't know what.

This error is related to the delivery slip - the entire error message is actually the link that opens the delivery slip. When I get order and set it to "in progress", "shipped" or "delivered" (whatever when the delivery slip is automatically generated) this will cause my orders to appear as you see on the enclosed screen.

 

post-1392790-0-82055400-1493829942_thumb.png

 

I tried to uninstall invoice modul but I got another error message so I would like to fix it with modul kept.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
On 4/21/2019 at 9:14 AM, ukfotoman said:

I had an exactly problem. Have you found the solution? Could you please share? Thanks

Ok i found the problem. It was an advanced invoice generator module that was desactivate but still was acting in some ways in prestashop. After deleting it everything went back to normal.

Link to comment
Share on other sites

  • 4 months later...
On 4/24/2019 at 6:44 PM, niavlys said:

Ok i found the problem. It was an advanced invoice generator module that was desactivate but still was acting in some ways in prestashop. After deleting it everything went back to normal.

I have the same problem, can you tell me what module you remove to fix the problem?

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