Repository navigation
[Meta] PHP 8.4 support #832
Description
This issue will help us track LocalGov Drupal compatibility with PHP 8.4.
Currently the core project https://github.com/localgovdrupal/localgov_project and its included localgov_* modules support PHP 8.4 (with the upcoming D11 release), however a small number of contrib modules do not support PHP 8.4 so we cannot yet state full compatibility.
These affected modules are;
-
drupal/address
- We use
2.0, PHP 8.4 support in the 2.1.x branch, waiting for a new release see https://www.drupal.org/project/address/issues/3509308
- We use
-
drupal/entity_hierarchy
- We use
3.3, there are no tickets/fixes for this release. Only the 5.0.0-alpha6 has support for PHP 8.4, however this release has some big MySQL/MariaDB requirements
- We use
The 5.x branch makes use of Common Table Expressions (CTEs) and requires Drupal 10 or higher. IF you use MySQL you will need 8.0 or greater. The minimum versions of PostgreSQL and SQLite already support CTEs. It is currently in alpha version.
I've created an issue ticket with MR, so hopefully this can be merged into 3.x https://www.drupal.org/project/entity_hierarchy/issues/3511660
-
drupal/facets
- We use
2.0, we will need to upgrade to3.0for PHP 8.4 compatibility fixes
- We use
-
drupal/layout_paragraphs
- PHP 8.4 support in the 2.1.x branch, waiting for a new release see https://www.drupal.org/project/layout_paragraphs/issues/3492372
-
drupal/metatag
- PHP 8.4 has a fix, waiting to be merged and a new release tagged see https://www.drupal.org/project/metatag/issues/3490807
-
drupal/pathauto
- PHP 8.4 has a fix, waiting to be merged and a new release tagged see https://www.drupal.org/project/pathauto/issues/3489108
-
drupal/symfony_mailer
- We use
1.4, PHP 8.4 support has been added to1.6.0-beta1
- We use
-
drupal/scheduled_transitions
- PHP 8.4 support fixed in 2.8 releases and for 2.7.x it's only in the dev version, not in a tagged release yet
-
drupal/geolcation
- PHP 8.4 support has a patch for 3.x branch https://www.drupal.org/project/geolocation/issues/3546951
Activity
millnut commentedon Mar 7, 2025
@finnlewis @stephen-cox @ekes latest on the PHP 8.4 contrib based on the project failing tests
stephen-cox commentedon Jun 24, 2025
@tonypaulbarker this is an issue tracking PHP 8.4 failures
stephen-cox commentedon Sep 16, 2025
Just reviewing this. Last modules without full PHP 8.4:
millnut commentedon Sep 16, 2025
@stephen-cox I thought I had updated to also add scheduled_transitions to the list as well, only fixed in 2.8 releases and for 2.7.x it's only in the dev version, not in a tagged release yet :(