Upgrade to 3.1.1-2 from 2.4.8 PHP Fatal error: Call to a member function getStatus()

Hi @marcoslongo

I am having the same error

[code: Installer Installer::convertSupplementaryFiles]
PHP Fatal error: Call to a member function getStatus() on null in /dir/where/ojs/is/installed/classes/install/Upgrade.inc.php on line 1369

in an upgrade I am running.

Just wanted to ask if it was the missing section_id that was causing this for you?

Oh God. So many things happened that I’m having issues remembering it all :slight_smile:

But yes, in this case the issue for the getStatus() null was the section_Id missing.

1 Like

thanks, yes I found some entries with null so keeping my fingers crossed. This seems like an easy issue. The other one I posted here is another story (convertQueries just dies without any errors :frowning_face:)

Yeah, after we take down all the other issues I had because of the container and the 32 bit integer loop, I think that the main issue was actually easy.

Good luck with your issue!