- 🇮🇳India ushma
Hi webservant316
I am getting similar errors with drupal 9.4.5 and php 8.1. Were you able to fix them ?
Make sure Drupal keeps being compatible with PHP 8. Work with dependencies as needed. See #3086374: Make Drupal 8 & 9 compatible with PHP 7.4 → for how we did it with PHP 7.4. PHP 8.0 is now released, see https://www.php.net/archive/2020.php#2020-11-26-3
The following task list has been determined by testing on #3156595: Make Drupal 9 installable on PHP8 → .
To produce a list of dependencies that are blocking PHP 8 support, you can do the following. Make sure you use PHP 7.4+ to run it.
$ git clone --branch 9.1.x https://git.drupalcode.org/project/drupal.git whynotphp8
$ cd whynotphp8/
$ composer install
$ composer update
$ composer why-not php:8
NONE!
NONE!
See above.
None.
None.
Fixed
9.1
Last updated
The issue particularly affects sites running on PHP version 8.0.0 or later.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Hi webservant316
I am getting similar errors with drupal 9.4.5 and php 8.1. Were you able to fix them ?