Ugrade ojs 3.2.1.0 to 3.3.0-11 tls Undefined constant "SCHEMA_GALLEY"

I have a problem for upgrade ojs 3.2.1.0 to ojs 3.3

with server
using PHP 8.1.7
CentOs 8

php tools/upgrade.php upgrade

PHP Fatal error: Uncaught Error: Undefined constant “SCHEMA_GALLEY” in /var/www/html/lib/pkp/includes/functions.inc.php:224
Stack trace:
#0 /var/www/html/lib/pkp/classes/db/DAORegistry.inc.php(67): instantiate(‘classes.article…’, Array)
#1 /var/www/html/classes/oai/ojs/OAIDAO.inc.php(41): DAORegistry::getDAO(‘ArticleGalleyDA…’)
#2 /var/www/html/plugins/generic/driver/DRIVERPlugin.inc.php(33): OAIDAO->__construct()
#3 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.inc.php(69): DRIVERPlugin->register(‘generic’, ‘plugins/generic…’, NULL)
#4 /var/www/html/lib/pkp/classes/plugins/PluginRegistry.inc.php(142): PluginRegistry::register(‘generic’, Object(DRIVERPlugin), ‘plugins/generic…’, NULL)
#5 /var/www/html/lib/pkp/classes/cliTool/CliTool.inc.php(65): PluginRegistry::loadCategory(‘generic’)
#6 /var/www/html/lib/pkp/classes/cliTool/UpgradeTool.inc.php(36): CommandLineTool->__construct(Array)
#7 /var/www/html/tools/upgrade.php(21): UpgradeTool->__construct(Array)
#8 {main}
thrown in /var/www/html/lib/pkp/includes/functions.inc.php on line 224

Hello @Fusuy ,
happened the same with me.
I resolved by returning the PHP to version 7.3.X
Try it.

thank’s for information, I try it with php version 7.4.1 successfully upgrade

Nice!
Remmeber to set the topic as resolved please.