First, I'll demonstrate that it can't be true at all for very simple reasons.
Below you can see that it calls the Scene_Shop scene in line 1142.
Only till you get down to line 1411, you'd finally find the eval call. This was the place where your error is supposed to be according to your own screenshot.
What's the problem here? Well, it's impossible to call the Scene_Shop as you intended because it's supposed to evaluate a script instead of normally interpreting the open shop menu event command.
I won't say you're lying. What that makes me think is that you seriously screwed up the Game_Interpreter or the Scene_Shop scene script or even both at the same time, and now you're getting a wacko-type of error message.
So a workaround to deal with this issue could be to go to an old project where you know you NEVER touched the Game_Interpreter and the Scene_Shop scripts. Copy them, and paste them in your current project. Or simply create a brand new project just to get a fresh copy of those scripts I mentioned above.
OR did you also include custom scripts that alter any of those 2 scripts for any reason?