The home url was previously evaluated at each page load. It is now stored in a transient (together with other languages informations). So you get this error if the transient has not been updated. The upgrade resets the transient.
Polylang upgrade process is always done on admin side. Did you made a manual update without visiting an admin page before loading the frontend page on which you got the error?