GitLab CI pipeline broke due to wodby/php:8.1-dev 4.41.0 installing XDebug 3.3

Created on 8 December 2023, about 1 year ago

Problem/Motivation

See:

  1. https://github.com/wodby/php/releases/tag/4.41.0
  2. https://github.com/wodby/php/issues/188

Crash:

PHP Fatal error:  Uncaught Error: Call to a member function commit() on null in /tmp/test-general-installability/web/core/lib/Drupal/Core/Database/Connection.php:1739
Stack trace:
#0 /tmp/test-general-installability/web/core/lib/Drupal/Core/Database/Connection.php(1725): Drupal\Core\Database\Connection->doCommit()
#1 /tmp/test-general-installability/web/core/lib/Drupal/Core/Database/Connection.php(1678): Drupal\Core\Database\Connection->popCommittableTransactions()
#2 /tmp/test-general-installability/web/core/lib/Drupal/Core/Database/Transaction.php(71): Drupal\Core\Database\Connection->popTransaction()
#3 [internal function]: Drupal\Core\Database\Transaction->__destruct()
#4 {main}
  thrown in /tmp/test-general-installability/web/core/lib/Drupal/Core/Database/Connection.php on line 1739

πŸ€” What could be happening? _Nothing_ has changed overnight. 🀯

Yesterday:

PHP 8.1.26 (cli) (built: Nov 27 2023 23:37:27) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.26, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.26, Copyright (c), by Zend Technologies
    with Xdebug v3.2.2, Copyright (c) 2002-2023, by Derick Rethans

Today:

PHP 8.1.26 (cli) (built: Dec  1 2023 00:24:07) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.26, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.26, Copyright (c), by Zend Technologies
    with Xdebug v3.3.0, Copyright (c) 2002-2023, by Derick Rethans

Hence this most likely caused by https://github.com/wodby/php/releases/tag/4.41.0 updating XDebug to 3.3.0.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.8

Component

Recommendations

Created by

πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024