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.

LogicException: Missing bundle entity, entity type file_type, entity id undefined

Hi,

Drupal 10.1.7

After upgrading from Drupal 9 to Drupal 10 I receive this error message when trying to save Content language and translation page (/admin/config/regional/content-language):

LogicException: Missing bundle entity, entity type file_type, entity id undefined. in Drupal\Core\Entity\EntityType->getBundleConfigDependency() (line 877 of [...]/core/lib/Drupal/Core/Entity/EntityType.php).

The code around line 877 on /core/lib/Drupal/Core/Entity/EntityType.php reads:

REST configuration, session/token crash with Drupal 10.2.x

I updated the site from 10.1.5 to 10.2.2

I try to get token like explained in this guide https://www.drupal.org/docs/8/core/modules/rest/getting-started-rest-configuration-rest-request-fundamentals

  • 1st call of the page

The mydomain.com/session/token works perfectly

Upgrade from 10.1.8 to 10.2.2 breaks site

I just (finally) was able to update from 10.1.8 to 10.2.2 but I am now getting the following error on all site pages. I enabled verbose error logging in my settings.local.php to get this 

Upgrading from Drupal 7 when the Drupal 7 site uses Features

TL;DR: Some "site building things" that are in Drupal 7 Features are not in the Drupal 7 site database, and therefore don't get migrated in a Drupal 7 to Drupal 8/9/10 upgrade.

Undefined index: php (in system.install) when updating modules in D7

Whenever updating modules on an existing Drupal 7 site, I got lots of these error messages

Undefined index: php in system_requirements() (line 471 of xxxx/modules/system/system.install)

The code at that place reads

Upgrading from 10.1 to 10.2

After migrating to 10.2.1

The first page is OK, but user login gives the following error :
The website encountered an unexpected error. Try again later.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal