I've attempted an upgrade from 9.29 to 9.30, and the upgrade goes fine. The 8 database updates also apply without issue, however when i browse to the site, i get :
The website encountered an unexpected error. Please try again later.
I've already upgraded a couple of my sites to D9 without many problems, but one is not allowing me to finish updates before moving to D9.
I have tried doing "drush updatedb" as well as the update database link on the site. Both fail and I get this error:
Error: Undefined class constant 'INSECURE_EXTENSION_REGEX' in {closure}() (line 32 of /var/www/vhosts/mysite.com/newsite/web/core/modules/file/file.post_update.php)