Hi Guys,
I am trying to create a new product. When I am creating new product then it show error "Rolled back transaction has not been completed correctly."
I have checked in exception log & found that error "main.CRITICAL: Rolled back transaction has not been completed correctly. {"exception":"[object] (Exception(code: 0): Rolled back transaction has not been completed correctly. at /srv/webapps/batterym2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:291)"} []"
Can you give me any solution for fixing that exception??
Please help. Thanks!
Magento rolled back the request means the process gets stuck somewhere in the whole creating product process.
For example: I'm uploading a CSV file with 400 records and it successfully uploaded 349 records but finds an error on the 350th record then it will roll back the whole file and generate an error.
A similar thing might be arriving here.
So, you need to check the exception log or error log to find out the particular issue.