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