If I add a plugin to the config.xml and upload my project, the config appears to be malformed.
For me it was nothing but a closing tag for plugin:
Incorrect:
Correct: