-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Email module breaks setup:upgrade in 2.4.3-p2 #35342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @enr-beck-mellow. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Even though technically Magento 2.4.3-p2 is installable with PHP 7.3 using composer (not sure why they still allow this?), it's not recommended and the system requirements specify that it was only tested with PHP 7.4. So I'm not sure if they will consider this as a valid bug report. You'd probably best want to upgrade to PHP 7.4 in order to solve this. What would be a valid bug report, is that Magento 2.4.3-p2 is still installable with composer using PHP 7.3, in my opinion this should no longer be allowed when they explicitly switch to PHP 7.4 syntax here and there. |
Good point. I didnt lookup the system requirements because composer installed it without any problems. |
Hi @engcom-November. Thank you for working on this issue.
|
Just want to add a comment that I encountered the same issue testing 2.4.3-p2 on PHP 7.3. This thread was invaluable in finding the issue, and thanks @hostep for the system requirements chart which does make the issue clear. Given that previously 2.4.3 ran without any issues on PHP 7.3 I think adding some clear notification that PHP 7.4 is now required would be very beneficial. |
Hi @enr-beck-mellow , Expected behavior: Hence confirming this issue. |
✅ Jira issue https://jira.corp.magento.com/browse/AC-2910 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
Hi @enr-beck-mellow, Thanks for your reporting and collaboration. We are closing this issue. Thanks. |
Preconditions (*)
Steps to reproduce (*)
Running composer create-project command does not give any error but running php bin/magento setup:install command returns an error which is not meaningful / clear
Expected result (*)
composer create-project command returns below meaningful error:

#35342 (comment)
Actual result (*)
syntax error, unexpected 'CollectionFactory' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)#0 /var/www/html/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/html/v...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Magento\\Email\\C...') #2 [internal function]: spl_autoload_call('Magento\\Email\\C...') #3 /var/www/html/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists('Magento\\Email\\C...') #4 /var/www/html/vendor/magento/framework/Interception/Config/Config.php(157): Magento\Framework\ObjectManager\Relations\Runtime->has('Magento\\Email\\C...') #5 /var/www/html/vendor/magento/framework/Interception/Config/Config.php(180): Magento\Framework\Interception\Config\Config->_inheritInterception('Magento\\Email\\C...') #6 /var/www/html/vendor/magento/framework/Interception/ObjectManager/Config/Developer.php(61): Magento\Framework\Interception\Config\Config->hasPlugins('Magento\\Email\\C...') #7 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(47): Magento\Framework\Interception\ObjectManager\Config\Developer->getInstanceType('Magento\\Email\\C...') #8 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Email\\C...') #9 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(206): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Email\\C...') #10 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(182): Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray(Array) #11 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, NULL, Array, 'commands', 'Magento\\Framewo...') #12 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array) #13 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array) #14 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array) #15 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array) #16 /var/www/html/vendor/magento/framework/Console/Cli.php(153): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...') #17 /var/www/html/vendor/magento/framework/Console/Cli.php(134): Magento\Framework\Console\Cli->getApplicationCommands() #18 /var/www/html/vendor/symfony/console/Application.php(1274): Magento\Framework\Console\Cli->getDefaultCommands() #19 /var/www/html/vendor/symfony/console/Application.php(629): Symfony\Component\Console\Application->init() #20 /var/www/html/vendor/symfony/console/Application.php(237): Symfony\Component\Console\Application->find('s:up') #21 /var/www/html/vendor/magento/framework/Console/Cli.php(115): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #22 /var/www/html/vendor/symfony/console/Application.php(149): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #23 /var/www/html/bin/magento(23): Symfony\Component\Console\Application->run() #24 {main}
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: