- Issue created by @bigmoves
- 🇺🇸United States bigmoves
This issue was resolved with a custom install hook.
- Status changed to Fixed
over 1 year ago 4:02pm 8 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 2:00pm 26 July 2023 - 🇮🇳India Mashir
@bigmoves - I am also facing the same issue after upgrade to D10. Could you please explain what custom install hooks you have used for fixing this?
- 🇳🇱Netherlands dennis_meuwissen
I don't know what bigmoves used, but we used this (hacky) update function:
/** * Fix up menu_link_content_field_revision tables. */ function project_update_9001() { $db = \Drupal::database(); try { $db->query("ALTER TABLE menu_link_content_field_revision ADD `link_override__uri` varchar(2048) DEFAULT NULL COMMENT 'The URI of the link.';"); $db->query("ALTER TABLE menu_link_content_field_revision ADD `link_override__title` varchar(255) DEFAULT NULL COMMENT 'The link text.';"); $db->query("ALTER TABLE menu_link_content_field_revision ADD `link_override__options` longblob DEFAULT NULL COMMENT 'Serialized array of options for the link.';"); } catch (\Exception $e) {} }
- 🇪🇸Spain rcodina Barcelona
Don't use custom code, use patch from 🐛 Notice: Undefined index: link_override__title in Drupal\Core\Entity\Sql\SqlContentEntityStorage->loadFromSharedTables Fixed