Report this

What is the reason for this report?

PDOException There is already an active transaction

Posted on January 6, 2021

OS: Ubuntu 20 Platform: Laravel 8

Error Sample:
PDOException · There is already an active transaction
vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php:137PDO::beginTransaction	
            $this->reconnectIfMissingConnection();
            try {
                $this->getPdo()->beginTransaction();
            } catch (Throwable $e) {
                $this->handleBeginTransactionException($e);
            }
vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php:137Illuminate\Database\Connection::createTransaction

Kindly assist.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.