bonjour cher tous je demande votre aide je rencontre cette erreur Erreur d'analyse: erreur de syntaxe 'spl_autoload_unregister' (T_STRING) inattendu dans /homepages/12/d784087711/htdocs/omarches/vendor/composer/autoload_real.php à la ligne 24 merci pour votre ai
Hello @dab_lee,
Sometime this issue occurs because of php version. Could you please let me know your magento version so that I could help you further.
Regards
bonjour @Sarvagya Pandey merci pour votre message j utilise Magento 2.3.2 J ai travaillé en local, je veux migrer en ligne et je rencontre un problème merci pour le soutien
Hello @dab_lee
Please check your PHP version if your phpversion is less that 7.2, please upgrade it. Please refer the following link for details:
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#php
Note: "Magento 2.3.1 is certified and tested on PHP 7.2.11" same is for Magento 2.3.2
If it helps you, please accept it as solution and give kudos.
If you need any further assistance from my end, please let me know.
Regards.
j'ai un PHP 7.3 mais le problème persiste. Je n'arrive pas à détecter le problème sur la ligne Erreur d'analyse: erreur de syntaxe, 'spl_autoload_unregister' (T_STRING) inattendu dans /homepages/12/d784087711/htdocs/omarches/vendor/composer/autoload_real.php à la ligne 24
Hello @dab_lee
Please downgrade your php version from 7.3 to 7.2 as magento itselt is tested on 7.2.
I hope this will help you, if still you have any question, please let me know.
If it helps you, please accept it as solution and give kudos.
Regards.
HELLO PLEASE HELP ME
[ERROR] Exception: Rolled back transaction has not been completed correctly. in /homepages/12/d784087711/htdocs/omarches/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:307
Stack trace:
#0 /homepages/12/d784087711/htdocs/omarches/vendor/magento/framework/Setup/Patch/PatchApplier.php(164): Magento\Framework\DB\Adapter\Pdo\Mysql->commit()
#1 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Model/Installer.php(1006): Magento\Framework\Setup\Patch\PatchApplier->applyDataPatch('Magento_Catalog...')
#2 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Model/Installer.php(875): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\DataSetup), 'data', Array)
#3 [internal function]: Magento\Setup\Model\Installer->installDataFixtures(Array)
#4 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Model/Installer.php(367): call_user_func_array(Array, Array)
#5 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array)
#6 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): Magento\Setup\Controller\Install->startAction()
#7 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#9 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(116): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#10 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#11 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#12 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#14 /homepages/12/d784087711/htdocs/omarches/setup/index.php(39): Zend\Mvc\Application->run()
#15 {main}
Next Magento\Framework\Setup\Exception: Unable to apply data patch Magento\CatalogSampleData\Setup\Patch\Data\InstallCatalogSampleData for module Magento_CatalogSampleData. Original exception message: Rolled back transaction has not been completed correctly. in /homepages/12/d784087711/htdocs/omarches/vendor/magento/framework/Setup/Patch/PatchApplier.php:167
Stack trace:
#0 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Model/Installer.php(1006): Magento\Framework\Setup\Patch\PatchApplier->applyDataPatch('Magento_Catalog...')
#1 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Model/Installer.php(875): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\DataSetup), 'data', Array)
#2 [internal function]: Magento\Setup\Model\Installer->installDataFixtures(Array)
#3 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Model/Installer.php(367): call_user_func_array(Array, Array)
#4 /homepages/12/d784087711/htdocs/omarches/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array)
#5 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): Magento\Setup\Controller\Install->startAction()
#6 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#7 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#8 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(116): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#9 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#10 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#11 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 /homepages/12/d784087711/htdocs/omarches/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#13 /homepages/12/d784087711/htdocs/omarches/setup/index.php(39): Zend\Mvc\Application->run()
#14 {main}
I am facing same problem
Please help me for solving this error.