Jump to content

Recommended Posts

Hello all

I know the wise men say, it's not the best idea to use the 1-click upgrade, but still...

We are trying to update PS 1.7.6.7 to the newest version, but get the error after the files have been updated.

And to the error we go:

[INTERNAL] [URL]/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php line 168 - Symfony\Component\Config\Exception\FileLoaderLoadException: The file "[URL]/app/config/config.yml" does not contain valid YAML: Missing value for tag "php/const:PrestaShopBundle\Service\Form\MultistoreCheckboxEnabler::MULTISTORE_FIELD_PREFIX" at line 85 (near "multistore_field_prefix: !php/const:PrestaShopBundle\Service\Form\MultistoreCheckboxEnabler::MULTISTORE_FIELD_PREFIX") in [URL]/app/config/config.yml (which is being imported from "[URL]/app/config/config_prod.yml"). 
#0 [URL]/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(90): Symfony\Component\Config\Loader\FileLoader->doImport('/home/customer/...', NULL, false, '/home/customer/...') 
#1 [URL]/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(195): Symfony\Component\Config\Loader\FileLoader->import('config.yml', NULL, false, '/home/customer/...') 
#2 [URL]/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(127): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseImports(Array, '/home/customer/...') 
#3 [URL]/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/DelegatingLoader.php(40): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('/home/customer/...', NULL) 
#4 [URL]/app/AppKernel.php(150): Symfony\Component\Config\Loader\DelegatingLoader->load('/home/customer/...') 
#5 [URL]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(776): AppKernel->registerContainerConfiguration(Object(Symfony\Component\Config\Loader\DelegatingLoader)) 
#6 [URL]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(642): Symfony\Component\HttpKernel\Kernel->buildContainer() 
#7 [URL]/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135): Symfony\Component\HttpKernel\Kernel->initializeContainer() 
#8 [URL]/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(74): Symfony\Component\HttpKernel\Kernel->boot() 
#9 [URL]/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(50): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->initAppKernel() 
#10 [URL]/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(86): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->initConstants() 
#11 [URL]/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(41): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() 
#12 [URL]/[ADMIN]/autoupgrade/ajax-upgradetab.php(53): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() 
#13 {main}

The strangest thing is, that I managed to upgrade earlier this week, but not today.

Can someone help me to tackle this error? Thank you in advance.

Always getting goosebumps when upgrading PrestaShop: how on earth this can be so frustrating all the time...

Edited by LahtiTo
Admin URL (see edit history)
Link to comment
Share on other sites

Thank you @Crezzur. This time we came to the solution to install another PS to subfolder. Copy the store by PresTools and CopyData. Then we upgraded that shop and everything went fine. Now just some finetuning and publish this upgraded version.

But I'll keep you in mind for the next time we have problems.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...