This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Upgrading D9.5 to D10 error

I am trying to upgrade an older site (started as Drupal 8) to Drupal 10 from Drupal 9.5

I've gotten past a lot of conflicts so far, but have now run into this:

Upgrade from 10.1.4 to 10.1.5 causes php errors

I have a multisite that is being updated from 10.1.4 to 10.1.5. After performing the update, all drush commands on the command line throw the same error.

PHP Fatal error:  Declaration of Drupal\Core\Logger\LoggerChannel::log($level, Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerTrait::log($level, $message, array $context = []): void in /var/www/html/example/web/core/lib/Drupal/Core/Logger/LoggerChannel.php on line 94
 [warning] Drush command terminated abnormally.

Here's my composer.json file:
 

D9.5 to D10 upgrade error: kint core_version_requirement' key

Hi

I am trying to upgrade D9 to D10 and I am getting the following error:

Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' key must be present in modules/kint.info/kint.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 68 of core/lib/Drupal/Core/Extension/InfoParserDynamic.php).

D9.5.11 to D10.1.5 upgrade: drupal/core-recommended remains on old version

I have been trying to upgrade our non-profit Drupal 9.5.11 site to Drupal 10.1 (my first major upgrade). I have been following the instructions for updating Drupal core via composer. Unfortunately, although drupal/core-composer-scaffold and drupal/core-project-message upgrade to 10.1.5, I am unable to get drupal/core-recommended and drupal/core-vendor-hardening to do so, and they remain at version 9.5.11.

D10 JSON:API Missing URL for Link Entities

Hello,

The JSON:API output of our Drupal 10 site appears to have dropped the "url: " key:value for all link entity objects, where it used to exist in Drupal 9.5. This is a problem for our consuming apps.

As of Drupal 9.5.11 the JSON:API output for a link entity would look like this:

Problem extracting tar.gz file on host (SOLVED)

Not sure where to post this on the Forum, but I ran into a new problem and think I have the solution. Am interested in whether I am the only one and why this problem suddenly appeared.

My workflow for updates/upgrades to my Drupal sites has been to do the upgrade first using ddev on my MacBookPro (Ventura 13.6) and then creatibng a tar.gz of the Druapl project, uploading to host, extracting, fixing settings.php, connecting to updated db.  Has worked fine.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal