Just before someone publicly lynches me for asking this - I searched online for many fixes and neither of them worked. I tried chrooting, using commands, even using the boot repair tool - all to no avail. I wanted to update grub when this error popped up.
In terms of my system, I am running a live Ubuntu system with persistence thanks to Rufus on a 240GB SSD - non-external, it's plugged into a drive dock and then I boot from it in the boot menu. The default system on my PC is Windows 11 Pro (wish it was Linux - but my family cannot use anything else :/). The reason it's live is so that I can boot from Windows desktops as well - if I had a proper install on a drive only Linux computers detected the disk.
I encountered the error both when updating grub and running Grub Customizer - I am building my own Ubuntu derivative system and I wanted to customize it.
I really have no idea about what to do now. My computer has GRUB installed and it plops up normally whenever I boot from the Ubuntu 22.04 LTS SSD.
I hope that the kind people on this forum will give me advice. Any is appreciated!