Okay so I deleted:
Line 78 which was define etc etc and re-uploaded it.
This fixed the "managed file" issue, there is no more error being displayed but I still can't submit articles.
Do you want my login details to have a look? It's only a test website and I don't share passwords