I had this error message today on my ps4, and the stupidest thing fixed it.

After inputting my passwords, the error screen with 4 codes appeared, together with the options to enter (cross) or go back (circle). Pressing enter would get into a loop of not checking and exiting the game. But... pressing back actually did the version check, updated the files and completed successfully.
For anyone still or again in this situation, try to press circle!