Când încerc să import un singur fișier de configurare în mediul meu multisite, mă confrunt cu următoarea eroare:
root@d655a4e6dc36:/opt/drupal/docroot# drupal --uri="3030-bronze-minnow-vuask4c0.ws-eu18.gitpod.io" config:import:single --directory="/opt/drupal/config/ sync/" --file="core.extensions.yml"
Eroare: clasa „Drupal\config\StorageReplaceDataWrapper” nu a fost găsită în /opt/drupal/vendor/drupal/console/src/Command/Config/ImportSingleCommand.php pe linia 91 #0 /opt/drupal/vendor/symfony/console/Command /Command.php(255): Drupal\Console\Command\Config\ImportSingleCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /opt/drupal/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\ Component\Console\Output\ConsoleOutput))
#2 /opt/drupal/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Drupal\Console\Command\Config\ImportSingleCommand), Object(Symfony\Component\ Consolă\Intrare\ArgvInput), Obiect (Symfony\Component\Console\Output\ConsoleOutput))
#3 /opt/drupal/vendor/drupal/console-core/src/Application.php(187): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object( Symfony\Component\Console\Output\ConsoleOutput))
#4 /opt/drupal/vendor/drupal/console/src/Application.php(64): Drupal\Console\Core\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\ Component\Console\Output\ConsoleOutput))
#5 /opt/drupal/vendor/symfony/console/Application.php(149): Drupal\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\ Ieșire\ConsoleOutput))
#6 /opt/drupal/vendor/drupal/console/bin/drupal.php(89): Symfony\Component\Console\Application->run()
#7 /opt/drupal/vendor/drupal/console/bin/drupal(4): require('/opt/drupal/ven...')
#8 {principal}
Eroare: clasa 'Drupal\config\StorageReplaceDataWrapper' nu a fost găsit în Drupal\Console\Command\Config\ImportSingleCommand->execute() (linia 91 din /opt/drupal/vendor/drupal/console/src/Command/Config/ImportSingleCommand.php).
root@d655a4e6dc36:/opt/drupal/docroot# drupal --uri="3030-bronze-minnow-vuask4c0.ws-eu18.gitpod.io" config:import:single --directory="/opt/drupal/config/ sync/" --file="core.extensions.yml"
Eroare: clasa „Drupal\config\StorageReplaceDataWrapper” nu a fost găsită în /opt/drupal/vendor/drupal/console/src/Command/Config/ImportSingleCommand.php pe linia 91 #0 /opt/drupal/vendor/symfony/console/Command /Command.php(255): Drupal\Console\Command\Config\ImportSingleCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /opt/drupal/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\ Component\Console\Output\ConsoleOutput))
#2 /opt/drupal/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Drupal\Console\Command\Config\ImportSingleCommand), Object(Symfony\Component\ Consolă\Intrare\ArgvInput), Obiect (Symfony\Component\Console\Output\ConsoleOutput))
#3 /opt/drupal/vendor/drupal/console-core/src/Application.php(187): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object( Symfony\Component\Console\Output\ConsoleOutput))
#4 /opt/drupal/vendor/drupal/console/src/Application.php(64): Drupal\Console\Core\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\ Component\Console\Output\ConsoleOutput))
#5 /opt/drupal/vendor/symfony/console/Application.php(149): Drupal\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\ Ieșire\ConsoleOutput))
#6 /opt/drupal/vendor/drupal/console/bin/drupal.php(89): Symfony\Component\Console\Application->run()
#7 /opt/drupal/vendor/drupal/console/bin/drupal(4): require('/opt/drupal/ven...')
#8 {principal}
Eroare: clasa 'Drupal\config\StorageReplaceDataWrapper' nu a fost găsit în Drupal\Console\Command\Config\ImportSingleCommand->execute() (linia 91 din /opt/drupal/vendor/drupal/console/src/Command/Config/ImportSingleCommand.php).
Versiunea consolei este 1.9.7
root@d655a4e6dc36:/opt/drupal/docroot# drupal --uri="3030-bronze-minnow-vuask4c0.ws-eu18.gitpod.io" -V
Consola Drupal versiunea 1.9.7
Și iată lista mea de URI:
root@d655a4e6dc36:/opt/drupal/docroot# drupal --uri="3030-bronze-minnow-vuask4c0.ws-eu18.gitpod.io" debug:multisite
Site-urile sunt scrise folosind formatul: <port>.<domain>.<path>
--------------------------------------------- --- -------------------------------------------
Director site
--------------------------------------------- --- -------------------------------------------
3030-bronze-minnow-vuask4c0.ws-eu18.gitpod.io /opt/drupal/docroot/sites/default-export
3031-bronze-minnow-vuask4c0.ws-eu18.gitpod.io /opt/drupal/docroot/sites/default-import
3032-bronze-minnow-vuask4c0.ws-eu18.gitpod.io /opt/drupal/docroot/sites/syndication-site-1
3033-bronze-minnow-vuask4c0.ws-eu18.gitpod.io /opt/drupal/docroot/sites/syndication-site-2
3034-bronze-minnow-vuask4c0.ws-eu18.gitpod.io /opt/drupal/docroot/sites/syndication-site-3
3035-bronze-minnow-vuask4c0.ws-eu18.gitpod.io /opt/drupal/docroot/sites/fresh-export
3036-bronze-minnow-vuask4c0.ws-eu18.gitpod.io /opt/drupal/docroot/sites/fresh-import
--------------------------------------------- --- -------------------------------------------
Are cineva idee ce ar putea merge prost?
Clasa StorageReplaceDataWrapper
există în nucleul Drupal.