Jump to content

bug 1 click


vincenzo82

Recommended Posts

Hi, after updating prestashop from the version: 1.7.2.0 to 1.7.6.1 in the design theme & logo section, the following error occurs:

The reserved indicator "|" cannot start a plain scalar; you need to quote the scalar at line 21 (near "description: |_|___|").

Symfony\Component\Yaml\Exception\ ParseException

 

in vendor\symfony\symfony\src\Symfony\Component\Yaml\Inline.php (line 355)

                throw new ParseException(sprintf('Malformed inline YAML string: %s.', $scalar), self::$parsedLineNumber + 1, null, self::$parsedFilename);

            }

            // a non-quoted string cannot start with @ or ` (reserved) nor with a scalar indicator (| or >)

            if ($output && ('@' === $output[0] || '`' === $output[0] || '|' === $output[0] || '>' === $output[0])) {

                throw new ParseException(sprintf('The reserved indicator "%s" cannot start a plain scalar; you need to quote the scalar.', $output[0]), self::$parsedLineNumber + 1, $output, self::$parsedFilename);

            }

            if ($output && '%' === $output[0]) {

                @trigger_error(self::getDeprecationMessage(sprintf('Not quoting the scalar "%s" starting with the "%%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0.', $output)), E_USER_DEPRECATED);

            }

 

Inline::parseScalar('|_|___|', 0, null, 7, true, array()) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Inline.php (line 126)

 

Inline::parse('|_|___|', 0, array()) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 771)

 

Parser->parseValue('|_|___|', 0, 'mapping') in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 395)

 

Parser->doParse('Two Columns, small left column', 0) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 514)

 

Parser->parseBlock(19, 'name: Two Columns, small left columndescription: |_|___|', 0) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 373)

 

Parser->doParse(array('name' => 'Three Columns', 'description' => 'One large central column and 2 side columns.'), 0) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 514)

 

Parser->parseBlock(12, 'layout-full-width: name: Full Width description: No side columns, ideal for distraction-free pages such as product pages.layout-both-columns: name: Three Columns description: One large central column and 2 side columns.layout-left-column: name: Two Columns, small left column description: |_|___|layout-right-column: name: Two Columns, small right column description: |___|_|', 0) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 373)

 

Parser->doParse(array('from' => '1.7.0.0', 'to' => null), 0) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 514)

 

Parser->parseBlock(8, 'compatibility: from: 1.7.0.0 to: ~available_layouts: layout-full-width: name: Full Width description: No side columns, ideal for distraction-free pages such as product pages. layout-both-columns: name: Three Columns description: One large central column and 2 side columns. layout-left-column: name: Two Columns, small left column description: |_|___| layout-right-column: name: Two Columns, small right column description: |___|_|', 0) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 373)

 

Parser->doParse(array('name' => 'Promokit', 'email' => '[email protected]', 'url' => 'http://promokit.eu'), 0) in vendor\symfony\symfony\src\Symfony\Component\Yaml\Parser.php (line 142)

 

Parser->parse('name: alysumdisplay_name: Alysumversion: 5.0.8author: name: "Promokit" email: "[email protected]" url: "http://promokit.eu"meta: compatibility: from: 1.7.0.0 to: ~ available_layouts: layout-full-width: name: Full Width description: No side columns, ideal for distraction-free pages such as product pages. layout-both-columns: name: Three Columns description: One large central column and 2 side columns. layout-left-column: name: Two Columns, small left column description: |_|___| layout-right-column: name: Two Columns, small right column description: |___|_|assets: # If you\'re using this theme as child and you want to load # the parent theme assets, uncomment this line.# use_parent_assets: true # The following lines are showing how to load assets in your page # Uncomment and change value to start loading css or js files# css:# all:# - id: custom-lib-style# path: assets/css/custom-lib.css# product:# - id: product-style# path: assets/css/product.css# media: all# priority: 200# js:# cart:# - id: cat-extra-lib# path: assets/js/cart-lib.jsglobal_settings: configuration: PS_IMAGE_QUALITY: png PS_SMARTY_FORCE_COMPILE: 1 ONBOARDINGV2_CURRENT_STEP: 14 modules: to_enable: - customproducttabs - pk_bannercarousel - pk_categories - pk_compare - pk_contact - pk_customlinks - pk_dailydeal - pk_emailcontrol - pk_flexmenu - pk_instafeed - pk_isotope - pk_manufacturers - pk_popup - pk_products - pk_testimonials - pk_textblock - pk_themesettings - pk_videobg - productcomments - revsliderprestashop - xipblog to_disable: - ps_socialfollow - ps_customersignin - welcome hooks: modules_to_hook: displayBackOfficeHeader: - revsliderprestashop displayNav: - ps_customersignin - ps_languageselector - ps_currencyselector - pk_customlinks displayTop: - pk_customlinks - ps_shoppingcart displayTopColumn: - revsliderprestashop content_top: - pk_textblock - pk_products - pk_testimonials - pk_manufacturers - pk_isotope - revsliderprestashop displayHome: - pk_textblock - pk_products - pk_testimonials - pk_manufacturers - pk_isotope content_bottom: - pk_textblock - pk_testimonials - pk_manufacturers - pk_products - pk_isotope displayFooterBefore: - pk_themesettings displayFooter: - ps_emailsubscription - ps_linklist - pk_textblock displayLeftColumn: - ps_facetedsearch - ps_categorytree - pk_videobg - revsliderprestashop displaySearch: - ps_searchbar displayProductButtons: - ps_sharebuttons displayReassurance: - blockreassurance displayOrderConfirmation2: - ps_featuredproducts displayCrossSellingShoppingCart: - ps_featuredproducts image_types: cart_default: width: 126 height: 163 scope: [products] small_default: width: 80 height: 104 scope: [products, suppliers] medium_default: width: 500 height: 650 scope: [products, suppliers] home_default: width: 353 height: 489 scope: [products] large_default: width: 1000 height: 1300 scope: [products, suppliers] category_default: width: 1110 height: 500 scope: [categories] stores_default: width: 170 height: 115 scope: [stores] brand_default: width: 202 height: 150 scope: [manufacturers]theme_settings: default_layout: layout-full-width layouts: category: layout-left-column best-sales: layout-left-column new-products: layout-left-column prices-drop: layout-left-column contact: layout-left-column module-xipblog-archive: layout-left-column module-xipblog-single: layout-left-columndependencies: modules: - customproducttabs - pk_bannercarousel - pk_categories - pk_compare - pk_contact - pk_customlinks - pk_dailydeal - pk_emailcontrol - pk_flexmenu - pk_instafeed - pk_isotope - pk_manufacturers - pk_popup - pk_products - pk_testimonials - pk_textblock - pk_themesettings - pk_twitter - pk_videobg - productcomments - revsliderprestashop - xipblog') in src\Core\Addon\Theme\ThemeRepository.php (line 154)

 

ThemeRepository->getConfigFromFile('C:\\xampp\\htdocs\\progetti\\perloro-prove/themes/alysum/config/theme.yml') in src\Core\Addon\Theme\ThemeRepository.php (line 66)

 

ThemeRepository->getInstanceByName('alysum') in src\Core\Addon\Theme\ThemeRepository.php (line 133)

 

ThemeRepository->getThemesOnDisk() in src\Core\Addon\Theme\ThemeRepository.php (line 114)

 

ThemeRepository->getFilteredList(object(AddonListFilter)) in src\Core\Addon\Theme\ThemeRepository.php (line 103)

 

ThemeRepository->getListExcluding(array('classic')) in src\Core\Addon\Theme\ThemeProvider.php (line 68)

 

ThemeProvider->getNotUsedThemes() in src\PrestaShopBundle\Controller\Admin\Improve\Design\ThemeController.php (line 113)

 

ThemeController->indexAction(object(Request)) in vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php (line 151)

 

HttpKernel->handleRaw(object(Request), 1) in vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php (line 68)

 

HttpKernel->handle(object(Request), 1, false) in vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php (line 200)

 

Kernel->handle(object(Request), 1, false) in admin140ryjzzn\index.php (line 86)

Screenshot.png

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...