cancel
Showing results for 
Search instead for 
Did you mean: 

Stripe Upgrade Error

Stripe Upgrade Error

Getting compilation error while upgrading to the stripe latest version (3.5).

Capture.PNG

2 REPLIES 2

Re: Stripe Upgrade Error

Re: Stripe Upgrade Error

Magento Version:2.4.3

Stripe Payment Available version is 3.4.4 . Got error while upgraded to 3.5.

Compilation Error:

Repositories code generation... 1/9 [==>----------------]  11% < 1 sec 146.0 MiBsyntax error, unexpected ')', expecting variable (T_VARIABLE)#0 /home/interiorr/domains/staging.interiorr.com/application/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/interiorr...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('StripeIntegrati...')
#2 [internal function]: spl_autoload_call('StripeIntegrati...')
#3 /home/interiorr/domains/staging.interiorr.com/application/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(1...: class_exists('StripeIntegrati...')
#4 /home/interiorr/domains/staging.interiorr.com/application/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(1...: Magento\Setup\Module\Di\Code\Reader\ClassesScanner->includeClass('StripeIntegrati...', '/home/interiorr...')
#5 /home/interiorr/domains/staging.interiorr.com/application/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(8...: Magento\Setup\Module\Di\Code\Reader\ClassesScanner->extract(Object(RecursiveIteratorIterator))
#6 /home/interiorr/domains/staging.interiorr.com/application/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGen...: Magento\Setup\Module\Di\Code\Reader\ClassesScanner->getList('/home/interiorr...')
#7 /home/interiorr/domains/staging.interiorr.com/application/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): Magento\Setup\Module\Di\App\Task\Operation\RepositoryGenerator->doOperation()
#8 /home/interiorr/domains/staging.interiorr.com/application/setup/src/Magento/Setup/Console/Command/DiCompileCommand.php(216): Magento\Setup\Module\Di\App\Task\Manager->process(Object(Closure), Object(Closure))
#9 /home/interiorr/domains/staging.interiorr.com/application/vendor/symfony/console/Command/Command.php(255): Magento\Setup\Console\Command\DiCompileCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /home/interiorr/domains/staging.interiorr.com/application/vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /home/interiorr/domains/staging.interiorr.com/application/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Magento\Setup\Console\Command\DiCompileCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /home/interiorr/domains/staging.interiorr.com/application/vendor/magento/framework/Console/Cli.php(115): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /home/interiorr/domains/staging.interiorr.com/application/vendor/symfony/console/Application.php(149): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /home/interiorr/domains/staging.interiorr.com/application/bin/magento(23): Symfony\Component\Console\Application->run()
#15 {main}