Did you install by dragging the c2addon files into the Construct 2 window and that's where the error occured?
You mentioned plugin and behavior but the two addons in the preview are both plugins. So if you by chance placed one in the behavior folder that will cause an issue for sure.