Elgg 3.3.16 gives white page with php 8.0

Trying Elgg 3.3.16 FRESH default install with no extra plugins

This code in htaccess gives normal landing page, normal admin login page and normal site

AddHandler application/x-httpd-php74 .php .php5 .php4 .php3

This gives white page

AddHandler application/x-httpd-php80 .php .php5 .php4 .php3
  • According to the tech guys at web-hosting company, the issue is due to is due to incompatible PDO signatures between the products core and PHP8. Any idea how to fix it and not happen it again? Thanks.

    PHP Fatal error:  Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /home/xxxx/xxxxdotcom/elgg3/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 81
  • Elgg 3.x isn't compatible with PHP 8.

    You'll have to wait until Elgg 4 is released, that has support for PHP 8

  • @Jerome Bakker   is the master version at github equivalent to Elgg 4 OR unlike other Elgg releases is it possible to release an Elgg 4 beta as php 8 is new and there will be many wrinkles to smooth out in the Elgg-php8x combination?

    Does this also mean as php7.4 will be nearing EOL, all Elgg 2x and 3x versions will stop working or will be there be patches to make it work in php8x? Thanks.