No controlls bug + erased campaign (PS4)

This happened to me yesterday and it also erased my single player campaign progress.

It happened when I was on the scoreboard screen after the round ended. I pressed the touchpad to open up battlelog and invite a friend. I chose his name and a pop up appeared to send the invite. I pressed send and at the same moment the map changed. From the next round the controller didnt work. Whichever button I pressed it would do nothing, only thing I could do was to press playstation button, go to playstation menu and close the game.

From that point every time I went into the game, buttons worked normally, but whenever I pressed the playstation button to go to playstation menu, and return to the game, the buttons would not function again!

By closing the application and shuting down the PS4 and reopening it it solved the no buttons on the game, bit it also erased the single player campaign

Hope it helps