Code:
(uiserver):p8356586:~/contao-test$ /usr/bin/php8.1 vendor/bin/contao-console wordpressimport 10 -v
Starting WordPress import with limit: 10
13:19:15 CRITICAL [console] Error thrown while running command "wordpressimport 10 -v". Message: "MemoryTokenStorage must not be accessed before it was initialized." ["exception" => LogicException { …},"command" => "wordpressimport 10 -v","message" => "MemoryTokenStorage must not be accessed before it was initialized."]
In MemoryTokenStorage.php line 91:
[LogicException]
MemoryTokenStorage must not be accessed before it was initialized.
Exception trace:
at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Csrf/MemoryTokenStorage.php:91
Contao\CoreBundle\Csrf\MemoryTokenStorage->assertInitialized() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Csrf/MemoryTokenStorage.php:47
Contao\CoreBundle\Csrf\MemoryTokenStorage->hasToken() at /homepages/35/d36705907/htdocs/contao-test/vendor/symfony/security-csrf/CsrfTokenManager.php:72
Symfony\Component\Security\Csrf\CsrfTokenManager->getToken() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Csrf/ContaoCsrfTokenManager.php:56
Contao\CoreBundle\Csrf\ContaoCsrfTokenManager->getToken() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Csrf/ContaoCsrfTokenManager.php:105
Contao\CoreBundle\Csrf\ContaoCsrfTokenManager->getDefaultTokenValue() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Resources/contao/library/Contao/RequestToken.php:54
Contao\RequestToken::get() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Framework/Adapter.php:46
Contao\CoreBundle\Framework\Adapter->__call() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:421
Contao\CoreBundle\Framework\ContaoFramework->handleRequestToken() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:308
Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:122
Contao\CoreBundle\Framework\ContaoFramework->initialize() at /homepages/35/d36705907/htdocs/contao-test/vendor/inspiredminds/contao-wordpressimport/src/Service/Importer.php:114
WordPressImportBundle\Service\Importer->import() at /homepages/35/d36705907/htdocs/contao-test/vendor/inspiredminds/contao-wordpressimport/src/Command/ImportCommand.php:43
WordPressImportBundle\Command\ImportCommand->execute() at /homepages/35/d36705907/htdocs/contao-test/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /homepages/35/d36705907/htdocs/contao-test/vendor/symfony/console/Application.php:1058
Symfony\Component\Console\Application->doRunCommand() at /homepages/35/d36705907/htdocs/contao-test/vendor/symfony/framework-bundle/Console/Application.php:96
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /homepages/35/d36705907/htdocs/contao-test/vendor/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at /homepages/35/d36705907/htdocs/contao-test/vendor/symfony/framework-bundle/Console/Application.php:82
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /homepages/35/d36705907/htdocs/contao-test/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /homepages/35/d36705907/htdocs/contao-test/vendor/contao/manager-bundle/bin/contao-console:38
include() at /homepages/35/d36705907/htdocs/contao-test/vendor/bin/contao-console:120
wordpressimport [<limit>]
Content-type: text/html; charset=UTF-8