Error on Dietpi login

When I login to my Dietpi over ssh, I get this error tucked away in the middle.

boot/dietpi/.version:6: G_LIVE_PATCH_STATUS: assignment to invalid subscript range

Any idea what’s the cause or how I can fix it?

what version of DietPi you are running? Can you try to apply latest version again

dietpi-update -1