I have restored the latest changes and set Drupal 10.3 as the minimum required version. Let me know if any further adjustments are needed.
b_harold β made their first commit to this issueβs fork.
Due to the absence of specific steps for testing, I am uncertain whether this solution will be effective. I encountered a similar error while attempting to import a database to my site on Pantheon; this issue arose from conflicts related to ShortcutSet. After removing the offending records from my database, I attempted to execute the command drush uli
and encountered the same problem. To resolve this, it is necessary to establish a default configuration for the ShortcutSet. I executed the following commands:
drush php-eval '
use Drupal\shortcut\Entity\ShortcutSet;
$shortcut_set = ShortcutSet::create([
"id" => "default",
"label" => "Default shortcut set",
]);
$shortcut_set->save();
'
Subsequently, I executed:
drush php-eval 'Drupal::configFactory()->getEditable("shortcut.settings")->set("default", "default")->save();'
After completing these steps, run drush uli
again.
If the issue persists, I recommend you first import the database.
Due to the absence of specific steps for testing, I am uncertain whether this solution will be effective. I encountered a similar error while attempting to import a database to my site on Pantheon; this issue arose from conflicts related to ShortcutSet. After removing the offending records from my database, I attempted to execute the command drush uli
and encountered the same problem. To resolve this, it is necessary to establish a default configuration for the ShortcutSet. I executed the following commands:
drush php-eval '
use Drupal\shortcut\Entity\ShortcutSet;
$shortcut_set = ShortcutSet::create([
"id" => "default",
"label" => "Default shortcut set",
]);
$shortcut_set->save();
'
Subsequently, I executed:
drush php-eval 'Drupal::configFactory()->getEditable("shortcut.settings")->set("default", "default")->save();'
After completing these steps, I recommend running drush uli
again.
If the issue persists, I recommend you first import the database.