Easy enough to accidentally deploy the slide.
As a 747 Capt I've done "doors" numerous times at SEP and opened and shut all of the door types down route more than once.
The actions for arming/disarming the upper deck door, as opposed to opening, it couldn't be more different. Couple that with the fact that this door is not routinely opened makes me wonder who exactly did this?