- Posts: 515
- Thank you received: 22
error after order edit
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
7 years 4 months ago #306757
by jouwnaambord.nl
error after order edit was created by jouwnaambord.nl
-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.2
Hi,
Every time I remove a product from an order I get an error and the sample image (custom_field)I wich is assigned to the order will disappear from the backend form. See the screenshots.
Could this be a bug?
Michel.
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.2
Hi,
Every time I remove a product from an order I get an error and the sample image (custom_field)I wich is assigned to the order will disappear from the backend form. See the screenshots.
Could this be a bug?
Michel.
Please Log in or Create an account to join the conversation.
7 years 4 months ago #306758
by nicolas
Replied by nicolas on topic error after order edit
Hi,
Could you try again with the "error reporting" and "debug mode" settings activated ?
It should hopefully provide an error message with more information on what's going on, which will help us understand the situation better.
Could you try again with the "error reporting" and "debug mode" settings activated ?
It should hopefully provide an error message with more information on what's going on, which will help us understand the situation better.
Please Log in or Create an account to join the conversation.
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
- Posts: 515
- Thank you received: 22
7 years 4 months ago #306863
by jouwnaambord.nl
Replied by jouwnaambord.nl on topic error after order edit
Hi Nicolas,
Here the screenshot with the debugmode activated.
Here the screenshot with the debugmode activated.
Please Log in or Create an account to join the conversation.
7 years 4 months ago #306867
by nicolas
Replied by nicolas on topic error after order edit
Hi,
Thank you.
Change the line:
to:
in the file administrator/components/com_hikashop/classes/order.php and that should fix the problem.
Thank you.
Change the line:
Code:
$order->product[] = $order_product;
Code:
$order->product = array($order_product);
The following user(s) said Thank You: jouwnaambord.nl
Please Log in or Create an account to join the conversation.
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
- Posts: 515
- Thank you received: 22
7 years 4 months ago #306899
by jouwnaambord.nl
Replied by jouwnaambord.nl on topic error after order edit
Hi Nicolas,
Yes, thank you. That solved it.
Yes, thank you. That solved it.
Please Log in or Create an account to join the conversation.
7 years 4 months ago #306903
by nicolas
Replied by nicolas on topic error after order edit
We'll also add that patch on our end.
Please Log in or Create an account to join the conversation.
Time to create page: 0.211 seconds