hm, so there wasn't any sort of accident before the problems started? Simply occurred during a long print? And the pi isn't old? Any chances you could claim warranty?
Searching for that error brought some reports of outdated kernel modules and some hints at sd card failures. I cannot think of much more than trying a few different images to flash the new sd but if that fails again it may be a hardware problem.
one thing I would try is to flash a new bootloader eeprom configuration...
I can't tell you if it can help - it's just a thing I would test if my Pi had that issue.
If you want to test it, open the pi imager, scroll down to misc utility images, flash one of those images onto an sd card (the first one is the default image), put it in your pi and let it boot. Should be done in a few seconds - if you want to be safe wait 5 minutes. Then unplug it put your old sd card back in (or flash a fresh octopi image onto the card you used for the eeprom update) and plug it in again.
If that doesn't help or you don't want to test it, you should ask the guys in the raspberry forums.
Pretty sure the pi engineers can tell you if you can do anything about it.