I see, it is not just the code on the phone that changed but also the code on the fairphone website backend. So to unlock your phone using that website you need to be running a more recent version, probably Android 10.
You can try to generate an unlock code with the unofficial script / website mentioned here:
PS: You can remove the logcat output from your post as it doesn’t provide any relevant info.