For the “enqueue_scripts” error, @usuari0’s solution in https://www.ads-software.com/support/topic/an-error-occurred-11/ worked for me.
After fixing that, I still had the issue where upgrading to PHP 8.x resulted in WordPress displaying as a completely blank page – not even any errors in the logs. Like @whusnoopy I couldn’t find any instances of arrays using blah{x} but while I was combing through all the files I did discover a typo in defaults.php where line 27 had ‘taxoncmy’. Correcting this to ‘taxonomy’ (as referred to in other files) resolved the issue and I was able to upgrade to PHP 8.1 successfully.