Jump to content

Backend Error: Cannot open Orders where a delivery receipe is generated


MrTouch

Recommended Posts

Hello,

I unfortunately have a similar issue which I already had once with prestashop 1.6 

 

 

But this time around, I didn't install any modules or anything. I was just trying to do some translations. (Someone else was also accessing the backend but that person was just working with the execution of the orders.)

But then suddenly all of the orders which have an delivery receipt generated end up in an error when opening the detail view. 

568431171_deliverymarked.JPG.be3def3c6ae2e244251f908b72d1bf76.JPG

The marked orders which have the delivery icon end up with an error 500, after activating the debug mode I get the following error:

Attempted to call an undefined method named "getDeliveryNumberFormatted" of class "OrderInvoice".
Did you mean to call "getInvoiceNumberFormatted"?

error.thumb.JPG.8e4f6a1e12f529d69478740dbbb24433.JPG

I already renamed the cache folder in the root directory but it didn't help. And I am not sure which file i should replace with a clean version of prestashop (which helped me the last time.)

I don't understand the whole concept of prestashop with overrides and hooks etc. But I would really appreciate any kind of help, which helps me to solve this problem. 

Link to comment
Share on other sites

Looks like a bug / issue with the ba_prestashop_invoice module, it's referencing a function that does not exist.

It's quite possible that the module needs to add an override file, and it's either not added, or the cache wasn't cleared.

Did you try asking the developer of the module?

Link to comment
Share on other sites

12 hours ago, tomerg3 said:

Looks like a bug / issue with the ba_prestashop_invoice module, it's referencing a function that does not exist.

It's quite possible that the module needs to add an override file, and it's either not added, or the cache wasn't cleared.

Did you try asking the developer of the module?

No didn't but i'll write him now. thanks for the hint.

Link to comment
Share on other sites

14 hours ago, tomerg3 said:

Looks like a bug / issue with the ba_prestashop_invoice module, it's referencing a function that does not exist.

It's quite possible that the module needs to add an override file, and it's either not added, or the cache wasn't cleared.

Did you try asking the developer of the module?

I was able to solve the problem without the developer :) Thanks to you I understood which module it was and I was able to fix the issue by deinstalling the module and reinstalling it.

I did a backup of the ps_ba_prestashop_invoice table in mysql and loaded the backup after the installation. I still had all the configurations and everything worked again!

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