Zend certified PHP/Magento developer

hello guys please help to fix this probleam

syntax error, unexpected 'protected' (T_PROTECTED)#0 C:xampphtdocsmagento2.4vendorcomposerClassLoader.php(322): ComposerAutoloadincludeFile('C:\xampp\htdocs...')
#1 [internal function]: ComposerAutoloadClassLoader->loadClass('Magento\Framewo...')
#2 [internal function]: spl_autoload_call('Magento\Framewo...')
#3 C:xampphtdocsmagento2.4vendormagentoframeworkObjectManagerRelationsRuntime.php(38): class_exists('Magento\Framewo...')
#4 C:xampphtdocsmagento2.4vendormagentoframeworkInterceptionConfigConfig.php(157): MagentoFrameworkObjectManagerRelationsRuntime->has('Magento\Framewo...')
#5 C:xampphtdocsmagento2.4vendormagentoframeworkInterceptionConfigConfig.php(180): MagentoFrameworkInterceptionConfigConfig->_inheritInterception('Magento\Framewo...')
#6 C:xampphtdocsmagento2.4vendormagentoframeworkInterceptionObjectManagerConfigDeveloper.php(61): MagentoFrameworkInterceptionConfigConfig->hasPlugins('Magento\Framewo...')
#7 C:xampphtdocsmagento2.4vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(47): MagentoFrameworkInterceptionObjectManagerConfigDeveloper->getInstanceType('Magento\Framewo...')
#8 C:xampphtdocsmagento2.4vendormagentoframeworkObjectManagerObjectManager.php(56): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Magento\Framewo...', Array)
#9 C:xampphtdocsmagento2.4vendormagentoframeworkImageAdapterFactory.php(60): MagentoFrameworkObjectManagerObjectManager->create('Magento\Framewo...')
#10 C:xampphtdocsmagento2.4vendormagentoframeworkImageFactory.php(47): MagentoFrameworkImageAdapterFactory->create('GD2')
#11 C:xampphtdocsmagento2.4vendormagentoframeworkViewDesignThemeImage.php(127): MagentoFrameworkImageFactory->create('C:/xampp/htdocs...')
#12 C:xampphtdocsmagento2.4vendormagentomodule-themeModelThemeRegistration.php(135): MagentoFrameworkViewDesignThemeImage->createPreviewImage('C:/xampp/htdocs...')
#13 C:xampphtdocsmagento2.4vendormagentomodule-themeModelThemeRegistration.php(114): MagentoThemeModelThemeRegistration->_savePreviewImage(Object(MagentoThemeModelThemeData))
#14 C:xampphtdocsmagento2.4vendormagentomodule-themeModelThemeRegistration.php(73): MagentoThemeModelThemeRegistration->_registerThemeRecursively(Object(MagentoThemeModelThemeData))
#15 C:xampphtdocsmagento2.4vendormagentomodule-themeSetupPatchDataRegisterThemes.php(47): MagentoThemeModelThemeRegistration->register()
#16 C:xampphtdocsmagento2.4vendormagentoframeworkSetupPatchPatchApplier.php(162): MagentoThemeSetupPatchDataRegisterThemes->apply()
#17 C:xampphtdocsmagento2.4setupsrcMagentoSetupModelInstaller.php(1094): MagentoFrameworkSetupPatchPatchApplier->applyDataPatch('Magento_Theme')
#18 C:xampphtdocsmagento2.4setupsrcMagentoSetupModelInstaller.php(960): MagentoSetupModelInstaller->handleDBSchemaData(Object(MagentoSetupModuleDataSetup), 'data', Array)
#19 [internal function]: MagentoSetupModelInstaller->installDataFixtures(Array)
#20 C:xampphtdocsmagento2.4setupsrcMagentoSetupModelInstaller.php(389): call_user_func_array(Array, Array)
#21 C:xampphtdocsmagento2.4setupsrcMagentoSetupConsoleCommandInstallCommand.php(231): MagentoSetupModelInstaller->install(Array)
#22 C:xampphtdocsmagento2.4vendorsymfonyconsoleCommandCommand.php(255): MagentoSetupConsoleCommandInstallCommand->execute(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))#23 C:xampphtdocsmagento2.4vendorsymfonyconsoleApplication.php(1009): SymfonyComponentConsoleCommandCommand->run(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#24 C:xampphtdocsmagento2.4vendorsymfonyconsoleApplication.php(273): SymfonyComponentConsoleApplication->doRunCommand(Object(MagentoSetupConsoleCommandInstallCommand), Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#25 C:xampphtdocsmagento2.4vendormagentoframeworkConsoleCli.php(115): SymfonyComponentConsoleApplication->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#26 C:xampphtdocsmagento2.4vendorsymfonyconsoleApplication.php(149): MagentoFrameworkConsoleCli->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#27 C:xampphtdocsmagento2.4binmagento(23): SymfonyComponentConsoleApplication->run()
#28 {main}

PHP Fatal error:  Uncaught Exception: User Error: Some transactions have not been committed or rolled back in C:xampphtdocsmagento2.4vendormagentoframeworkDBAdapterPdoMysql.php on line 4050 in C:xampphtdocsmagento2.4vendormagentoframeworkAppErrorHandler.php:61
Stack trace:
#0 [internal function]: MagentoFrameworkAppErrorHandler->handler(256, 'Some transactio...', 'C:\xampp\htdocs...', 4050, Array)
#1 C:xampphtdocsmagento2.4vendormagentoframeworkDBAdapterPdoMysql.php(4050): trigger_error('Some transactio...', 256)
#2 [internal function]: MagentoFrameworkDBAdapterPdoMysql->__destruct()
#3 {main}
  thrown in C:xampphtdocsmagento2.4vendormagentoframeworkAppErrorHandler.php on line 61

Fatal error: Uncaught Exception: User Error: Some transactions have not been committed or rolled back in C:xampphtdocsmagento2.4vendormagentoframeworkDBAdapterPdoMysql.php on line 4050 in C:xampphtdocsmagento2.4vendormagentoframeworkAppErrorHandler.php:61
Stack trace:
#0 [internal function]: MagentoFrameworkAppErrorHandler->handler(256, 'Some transactio...', 'C:\xampp\htdocs...', 4050, Array)
#1 C:xampphtdocsmagento2.4vendormagentoframeworkDBAdapterPdoMysql.php(4050): trigger_error('Some transactio...', 256)
#2 [internal function]: MagentoFrameworkDBAdapterPdoMysql->__destruct()
#3 {main}
  thrown in C:xampphtdocsmagento2.4vendormagentoframeworkAppErrorHandler.php on line 61