- Posts: 33
- Thank you received: 1
Error in change status
1 month 2 weeks ago #373032
by HadiTak
Error in change status was created by HadiTak
-- HikaShop version -- : 6.5.2
Hello
I think the change status option in mass action isn't working correctly. For example, when I click Run PHP code, the code works correctly, but afterward change status doesn't always work properly. This seems like it could be a bug.
Hello
I think the change status option in mass action isn't working correctly. For example, when I click Run PHP code, the code works correctly, but afterward change status doesn't always work properly. This seems like it could be a bug.
Please Log in or Create an account to join the conversation.
1 month 2 weeks ago #373033
by nicolas
Replied by nicolas on topic Error in change status
Hi,
On your screenshot, I can see there is a bug in the PHP code.
The line "$db->setQuery(" is missing the end. This will generate an error. So I don't think it comes from the status change but from the PHP code.
On your screenshot, I can see there is a bug in the PHP code.
The line "$db->setQuery(" is missing the end. This will generate an error. So I don't think it comes from the status change but from the PHP code.
Please Log in or Create an account to join the conversation.
1 month 2 weeks ago #373034
by HadiTak
Replied by HadiTak on topic Error in change status
My code runs correctly and doesn’t give any errors.
Probably because it doesn’t fit on the screen, you can’t see the entire code.
But the important thing is that the status change after the code isn’t happening.
Probably because it doesn’t fit on the screen, you can’t see the entire code.
But the important thing is that the status change after the code isn’t happening.
Please Log in or Create an account to join the conversation.
1 month 2 weeks ago #373035
by nicolas
Replied by nicolas on topic Error in change status
Hi,
Can you try the same mass action with only the status change and not the run PHP code action ? Does it work ?
If you manually change the status in the backend, the same way the mass action would for the same order does it work ?
Can you try the same mass action with only the status change and not the run PHP code action ? Does it work ?
If you manually change the status in the backend, the same way the mass action would for the same order does it work ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.178 seconds