Hello Weronika. Here's a Google Drive link to a PS4 save file in which this bug happened recently.
I should mention, my report got tagged as duplicate of this one, but the second bug occurence on my report differs slightly from this as it was not just an issue with coordinates value division by 8, but also a portal linking to another very distant, already existing portal without coordinate correlation. This particular bug occurence keeps happening.
See report for details.
Hope this helps.
Beta 1.17.10.23 changelog only mentions Nether portals, does the fix apply to End portals as well?