Skip to content

error after upgrade Magento 2.4.3 to 2.4.5

[master_bjmwbubjed]:public_html$ php bin/magento setup:upgrade
syntax error, unexpected token “array”, expecting “)”#0 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/composer/ClassLoader.php(428): ComposerAutoloadincludeFile()
#1 [internal function]: ComposerAutoloadClassLoader->loadClass()
#2 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists()
#3 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/Interception/Config/Config.php(157): MagentoFrameworkObjectManagerRelationsRuntime->has()
#4 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/Interception/Config/Config.php(180): MagentoFrameworkInterceptionConfigConfig->_inheritInterception()
#5 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/Interception/Config/Config.php(213): MagentoFrameworkInterceptionConfigConfig->hasPlugins()
#6 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/Interception/Config/Config.php(190): MagentoFrameworkInterceptionConfigConfig->generateIntercepted()
#7 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/Interception/Config/Config.php(122): MagentoFrameworkInterceptionConfigConfig->initializeUncompiled()
#8 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): MagentoFrameworkInterceptionConfigConfig->__construct()
#9 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject()
#10 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create()
#11 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(84): MagentoFrameworkObjectManagerObjectManager->get()
#12 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/App/ObjectManagerFactory.php(191): MagentoFrameworkAppObjectManagerEnvironmentDeveloper->configureObjectManager()
#13 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/App/Bootstrap.php(212): MagentoFrameworkAppObjectManagerFactory->create()
#14 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/App/Bootstrap.php(127): MagentoFrameworkAppBootstrap->__construct()
#15 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/Console/Cli.php(185): MagentoFrameworkAppBootstrap::create()
#16 /home/644055.cloudwaysapps.com/jawcykryms/public_html/vendor/magento/framework/Console/Cli.php(85): MagentoFrameworkConsoleCli->initObjectManager()
#17 /home/644055.cloudwaysapps.com/jawcykryms/public_html/bin/magento(22): MagentoFrameworkConsoleCli->__construct()
#18 {main}