cedib Posted July 30, 2021 Posted July 30, 2021 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! Share this post Link to post Share on other sites More sharing options...
Shabab Posted July 30, 2021 Posted July 30, 2021 GetOrderProductsForViewingHandler.php in this file line 118 add string with second parameter of function Share this post Link to post Share on other sites More sharing options...
cedib Posted July 30, 2021 Posted July 30, 2021 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 More sharing options...
Shabab Posted July 30, 2021 Posted July 30, 2021 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 More sharing options...
cedib Posted July 30, 2021 Posted July 30, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now