I got the following error on setup:upgrade after installing sample data in Magento 2.3.3
Error is thrown on Module Magento_CatalogSampleData
PHP Fatal error: Uncaught Exception: User Error: Some transactions have not been committed or rolled back in /var/www/html/mage233/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 3985 in /var/www/html/mage233/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(256, 'Some transactio...', '/var/www/html/m...', 3985, Array)
#1 /var/www/html/mage233/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(3985): trigger_error('Some transactio...', 256)
#2 [internal function]: Magento\Framework\DB\Adapter\Pdo\Mysql->__destruct()
#3 {main}
thrown in /var/www/html/mage233/vendor/magento/framework/App/ErrorHandler.php on line 61
I also tried with reset and re-install sample data but no success.
php bin/magento sampledata:reset
Any help would be appreciated.
asked Oct 31, 2019 at 9:20
Prince Patel
23.1k10 gold badges102 silver badges124 bronze badges
-
Refer to this. devdocs.magento.com/guides/v2.3/install-gde/trouble/…Dhaduk Mitesh– Dhaduk Mitesh2019年11月06日 12:17:40 +00:00Commented Nov 6, 2019 at 12:17
-
@DhadukMitesh not found any solution from devdoc.Prince Patel– Prince Patel2019年11月06日 13:18:27 +00:00Commented Nov 6, 2019 at 13:18
1 Answer 1
You need to run reindex data command:
php bin/magento indexer:reindex
Explore related questions
See similar questions with these tags.
default