- Issue created by @adaragao
- Status changed to Postponed: needs info
10 months ago 6:14pm 31 January 2024 The "official" Docker image is neither made nor supported by drupal.org.
Reproduction steps for a bug have to be made through the installation steps documented on drupal.org.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
This might be a duplicate of π Transaction autocommit during shutdown relies on unreliable object destruction order (xdebug 3.3+ enabled) Needs review
- π΅πΉPortugal adaragao
Didn't now that about the Docker image.
Anyway, I had try with Lando, and it worked fine.... so might be something with the docker image or the connection with the database.... sorry to bother.... Please, close this. Thank you.
- π¬π§United Kingdom longwave UK
Out of interest do you know if the Docker image has xdebug enabled? #3 appears to happen mostly when that is the case, it might help us with that issue.
- π΅πΉPortugal adaragao
A test with Lando with the xdebug on or off gave the same result.... Sucess.
A test with the Docker image with and without the xdebug, both.... Failed.
Off course that Lando might be using the most suitable version of xdebug....
The database version is the same...
I was installing on PT-PT, but I had also tried on ENG.... same results....
- π΅πΉPortugal adaragao
Got the same error, trying to delete a content, a "Basic Page".
[Tue Feb 06 22:58:01.821893 2024] [php:notice] [pid 28] [client 192.168.91.1:49214] PHP Fatal error: Uncaught TypeError: Drupal\\Core\\Database\\Connection::getClientConnection(): Return value must be of type object, null returned in /opt/drupal/web/core/lib/Drupal/Core/Database/Connection.php:306\nStack trace:\n#0 /opt/drupal/web/core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php(31): Drupal\\Core\\Database\\Connection->getClientConnection()\n#1 /opt/drupal/web/core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php(278): Drupal\\mysql\\Driver\\Database\\mysql\\TransactionManager->processRootCommit()\n#2 /opt/drupal/web/core/lib/Drupal/Core/Database/Transaction.php(88): Drupal\\Core\\Database\\Transaction\\TransactionManagerBase->unpile()\n#3 [internal function]: Drupal\\Core\\Database\\Transaction->__destruct()\n#4 {main}\n thrown in /opt/drupal/web/core/lib/Drupal/Core/Database/Connection.php on line 306, referer: http://127.0.0.1:8001/admin/content/node/delete?destination=/admin/content
- Status changed to Closed: works as designed
about 2 months ago 11:25am 27 September 2024 - π³πΏNew Zealand quietone
This doesn't seem to be a problem with Drupal core but the Docker image being used. Therefore, I am closing this issue.
If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β (starting from "Install Drupal core").
Thanks!