Jump to content

Error accessing orders in backoffice 1.7.7.4


cedib
 Share

Recommended Posts

Hi,

We have just migrated from 1.6 to 1.7.7.4 and we have this error when trying to access some orders in the backoffice.

Has someone any idea about the problem and how to solve it?

Thanks!

Screen Shot 2021-07-30 at 12.00.44.png

Screen Shot 2021-07-30 at 12.00.20.png

Share this post


Link to post
Share on other sites

7 minutes ago, uzishabab said:

GetOrderProductsForViewingHandler.php

in this file line 118 add string with second parameter of function

Hi,

Which string should I add? But also, I shouldn't have to amend a core file.

Thanks

Share this post


Link to post
Share on other sites

9 minutes ago, cedib said:

Hi,

Which string should I add? But also, I shouldn't have to amend a core file.

Thanks

You just need to add keyword string with second parameter of function

Share this post


Link to post
Share on other sites

23 minutes ago, uzishabab said:

You just need to add keyword string with second parameter of function

Line 118 is this:

$customizations[] = new OrderProductCustomizationForViewing((int) $data['type'], $data['name'], $data['value']);

It already has the second parameter $this->name = $name;

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More