Comment 10 for bug 1983205

Revision history for this message
Stefan Mueller (mullzk) wrote : Re: Import >= 8.1.6 to fix OPcache bug

Hi Kraut
> Community feedback bit low. Refers to upstream's test suite.

So that you get at least one feedback, although not the most competent one: Thank you, your fix works for us.
Environment: Ubuntu 22.04, PHP 8.1.2, Drupal 9.4.5

[Impact]
 * In two of our Drupal Installations, every time Drupal wants to show an Error (e.g. HTTP Error 403
on unauthorized access), PHP crashes on its autoloader and Drupal produces a Server-Error 500.
We also had the situation were a PHP deprecated warning became an Error 500, but I am not able to reproduce this situation as the deprecated code was removed.
The issue was introduced when we upgraded from 18.04 to 22.04 and from PHP 8.0 to 8.1.2.

[Test Plan]
 * We can reproduce the bug in our Drupal Installation every time, by accessing the (login-protected) URL /admin. Unfortunately 1, a complete Drupal Installation is not a good and definitly not a minimal test. Unfortunately 2, we did not experience the bug in a fresh Drupal installation yet - so even a dockerized drupal would probably not be a reproducing test.
 * When we install your PPA, the bug vanishes, the errors are presented as expected.

[Other Info]
 * The commands in the PPA for adding the PPA to the system did not work out with us, sudo apt update did not install it. In the end, we had to re-install all php:
```
sudo add-apt-repository ppa:kraut.hosting/php
sudo apt remove php8.1-*
sudo apt install php8.1-*=8.1.2-1ubuntu2.3~kraut.hosting1~jammy1
```
 * Our sysadmin would like to stay on the official release. It would be great if the SRU could backport the fix to 8.1.2 in a timely manner and we are not forced to update to 8.1.7