Hello @califer,
You may want to look through some of the other posts here on the forum where users report that same error (if you search “upgrade” and “publication_id cannot be null” - you should find several examples. such as this one:
If the error still persists despite trying what is offered as a solution in other posts, let us know and we’ll see if we can help further.
Best regards,
Roger
PKP Team