0

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
2

1 Answer 1

0

You need to run reindex data command:

php bin/magento indexer:reindex
answered Nov 1, 2019 at 9:33
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.