I had the same issue. The solution was to read all blue boxes and one of them had something like "You have to update your business details before signing Paid Applications agreement" and link to update it. It was just a modal window where I approve all the details.
After that you could scroll down to the agreements and there was a link to accept it next to the expired agreement
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: