OK. Removing all instances of that. This doesn't appear to be a hosting compromise. All these subroutines are commented with "Invision Power Board" comments and versions that are VERY old. I believe this is before it was rebranded Invision Community, and somehow the code survived all the upgrades.
OK. This has been moved from a previous hosting service and upgraded multiple times on my current host with no issues. I did not realize IPB_Firewall was not part of the original Invision. Removing. Hopefully that's the only major issue.
I have been trying for a while to upgrade my server to PHP 8.1. Every time I enable it, I get the following errors:
Error: Call to undefined function create_function() (0)
#0 /var/www/<website>/forums/conf_global.php(338): IPB_Firewall::_calculateChecksums()
#1 /var/www/<website>/forums/conf_global.php(310): IPB_Firewall::_doSecurityChecks()
#2 /var/www/<website>/forums/conf_global.php(542): IPB_Firewall::run()
#3 /var/www/<website>/forums/system/Dispatcher/Dispatcher.php(69): require('...')
#4 /var/www/<website>/forums/admin/index.php(13): IPS\_Dispatcher::i()
#5 {main}
I have no plugins installed. I have attempted every purge to make sure no plugins are installed. I switched to a default no-frills theme with no modifications. Nothing helps. This PHP 8.x requirement is killing me given your "vanilla" version of Invision is not working with it.
Please help.