Many thanks for the quick response and resolution Mircea. It all works fine again now in PHP 8.1 ??
In terms of your initial response, I did turn on error logging for the snippets in the WPCode settings, but the error log stayed empty. So I assume my snippets were ok.
Many thanks again.