Fatal error: Uncaught Error: Call to a member function inTransaction() on null in /var/www/html/public/core/modules/mysql/src/Driver/Database/mysql/Connection.php on line 470

A problem was detected in our docker devOps setup in Drupal 10.3:

Fatal error: Uncaught Error: Call to a member function inTransaction() on null in /var/www/html/public/core/modules/mysql/src/Driver/Database/mysql/Connection.php on line 470

The solution was to remove the "develop" from our docker compose file (PHP_XDEBUG_MODE).

More in this thread: https://www.drupal.org/project/drupal/issues/3405976

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!