Ojs 3.1 upgrade issue

That happened in my case too. Take a look at this thread: