Based on the site being gone, it's probably code that is generating warnings in PHP 8 because it was written for PHP 5-7 where you could get away with undefined variables. Not a big problem in PHP 8 since its just a warning, but PHP 9 is supposed to make those into errors so it's good to fix them now because they will kill your site on PHP 9.
I've patched some of these myself in old extensions I use - it's worth looking at to see if there's a logic error, but a lot of times I shrug and think: well it was working before so... I just add a null coalescing operator ie: like $i -> ($i ?? 0) or ($i ?? null) or ($i ?? "") depending on what seems more reasonable in the context.
But like I said, it's worth a look, because I've also seen cases where something really should be initialized. I've actually found a few bugs in old extensions because of this warning.
Disclaimer: I am slowly picking up PHP as a side-effect of managing a MyBB forum. Someone with more PHP experience might have a better way.