NCP 1.50.3: Segmentation faults hindering backups

After upgrading my PHP version it seemed to be to new since I got this message trying to backup my instance:

This version of Nextcloud is not compatible with PHP>=8.2.
You are currently running 8.2.1.Abort…

After selection PHP 8.1 via sudo update-alternatives --config php, I experienced the same issue you described.
Now I see:

Segmentation fault ${SUDO} php /var/www/nextcloud/occ “$@”

NCP shows Nextcloud check as error, HPB service shows as down and automatic backups were not created since beginning of December 2022.
Have you found a solution that worked for you? If yes, I am interested in what you did to solve this since I do not want to do a complete new install.

edit:
I found the solution on this forum myself:

which led to
NCP Update to v.1.50.0 fails to 503 - #18 by theCalcaholic?