Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem at backend opening atribute with text swatches #7654

Closed
erik-augustin opened this issue Dec 1, 2016 · 10 comments
Closed

problem at backend opening atribute with text swatches #7654

erik-augustin opened this issue Dec 1, 2016 · 10 comments
Assignees
Labels
bug report Component: Catalog Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update

Comments

@erik-augustin
Copy link

Preconditions

  1. magento 2.1.2
  2. mysql 5.6
    3 php 7.0

Steps to reproduce

  1. edit text swatches switch to from visual edit dele options

Expected result

  1. it should be possible to edit atributes

Actual result

  1. [Screenshot, logs]

I get an error page:

1 exception(s):
Exception #0 (Exception): Notice: Uninitialized string offset: 0 in /home/78667-61384.cloudwaysapps.com/fbsjfkryyc/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php on line 91

Exception #0 (Exception): Notice: Uninitialized string offset: 0 in /home/78667-61384.cloudwaysapps.com/fbsjfkryyc/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php on line 91
#0 /home/78667-61384.cloudwaysapps.com/fbsjfkryyc/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(91): Magento\Framework\App\ErrorHandler->handler(8, 'Uninitialized s...', '/home/78667-613...', 91, Array)
#1 /home/78667-61384.cloudwaysapps.com/fbsjfkryyc/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(47): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual->reformatSwatchLabels(Array)

/**
 * Parse swatch labels for template
 *
 * @codeCoverageIgnore
 * @param null $swatchStoreValue
 * @return string
 */
protected function reformatSwatchLabels($swatchStoreValue = null)
{
    if ($swatchStoreValue === null) {
        return;
    }
    $newSwatch = '';

(LINE91) foreach ($swatchStoreValue as $key => $value) {
if ($value[0] == '#') {
$newSwatch[$key] = 'background: '.$value;
} elseif ($value[0] == '/') {
$mediaUrl = $this->swatchHelper->getSwatchMediaUrl();
$newSwatch[$key] = 'background: url('.$mediaUrl.$value.'); background-size: cover;';
}
}
return $newSwatch;
}
}
At the frontend my configurable itemes with multiple are functioning as expected but at backend i have problems.

when i open add the backend of magento 2.1.2
one of my Product atributes (with text swatches)

I get an error page: see above

i have create "workaround"
by changing: if ($swatchStoreValue === null || 1==1) {

my questions:
-whats the function of this code?
-how to fix this permanent?
-do i have a corrrupted database field (which table is queried field?)

thanks
erik

@stevewinni
Copy link

We are also seeing this error on the same platform and version.
screen shot 2017-01-19 at 17 35 09

@elachino
Copy link

Hi, we resolve it with print log in core function and we found an option with void value. We removed it from DB and all works fine.

@RomanKrut
Copy link

@erik-augustin Hello, we was tried to reproduce your issue as you described it and we can`t do it. Can you please recheck your problem on the latest version of Magento 2?

@erik-augustin
Copy link
Author

problem still exsists at 2.1.6 :(

1 exception(s):
Exception #0 (Exception): Notice: Uninitialized string offset: 0 in /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php on line 91

Exception #0 (Exception): Notice: Uninitialized string offset: 0 in /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php on line 91
#0 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(91): Magento\Framework\App\ErrorHandler->handler(8, 'Uninitialized s...', '/home/78667-613...', 91, Array)
#1 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(47): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual->reformatSwatchLabels(Array)
#2 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/AbstractSwatch.php(48): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual->createStoreValues('0', '31')
#3 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-eav/Block/Adminhtml/Attribute/Edit/Options/Options.php(155): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\AbstractSwatch->_prepareUserDefinedAttributeOptionValues(Object(Magento\Eav\Model\Entity\Attribute\Option), 'radio', Array)
#4 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-eav/Block/Adminhtml/Attribute/Edit/Options/Options.php(118): Magento\Eav\Block\Adminhtml\Attribute\Edit\Options\Options->_prepareOptionValues(Object(Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor), Object(Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\Collection))
#5 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(63): Magento\Eav\Block\Adminhtml\Attribute\Edit\Options\Options->getOptionValues()
#6 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/view/adminhtml/templates/catalog/product/attribute/visual.phtml(137): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual->getJsonConfig()
#7 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/78667-613...')
#8 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual), '/home/78667-613...', Array)
#9 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/home/78667-613...')
#10 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#11 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Backend\Block\Template->toHtml()
#12 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#13 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->renderBlock('main_schedule_b...')
#14 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main_schedule_b...')
#15 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main_schedule_b...')
#16 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main_schedule_b...', true)
#17 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('main_schedule_b...')
#18 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->renderContainer('main')
#19 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main')
#20 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main')
#21 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', true)
#22 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(499): Magento\Framework\View\Layout\Interceptor->renderElement('main', true)
#23 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php(37): Magento\Framework\View\Element\AbstractBlock->getChildHtml('main')
#24 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(658): Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tabs->beforeToHtml()
#25 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#26 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->renderBlock('attribute_edit...')
#27 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('attribute_edit
...')
#28 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('attribute_edit
...')
#29 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('attribute_edit
...', true)
#30 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('attribute_edit
...')
#31 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('left')
#32 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('left')
#33 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('left')
#34 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('left', true)
#35 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('left')
#36 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('side.col')
#37 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('side.col')
#38 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('side.col')
#39 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('side.col', true)
#40 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('side.col')
#41 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.main.conta...')
#42 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.main.conta...')
#43 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.conta...')
#44 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.main.conta...', true)
#45 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.main.conta...')
#46 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.content')
#47 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.content')
#48 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content')
#49 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.content', true)
#50 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.content')
#51 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#52 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#53 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#54 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', true)
#55 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper')
#56 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('backend.page')
#57 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('backend.page')
#58 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page')
#59 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('backend.page', true)
#60 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('backend.page')
#61 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('root')
#62 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#63 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#64 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#65 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(938): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#66 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(492): Magento\Framework\View\Layout->getOutput()
#67 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Result/Page.php(243): Magento\Framework\View\Layout\Interceptor->getOutput()
#68 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Result/Layout.php(164): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#69 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#70 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/App/Http.php(139): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#71 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#72 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#73 {main}

@magento-engcom-team magento-engcom-team added Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed and removed Progress: needs update labels Sep 18, 2017
@magento-engcom-team
Copy link
Contributor

@erik-augustin , Thanks for the feedback. Please add more details to your description of the steps you followed when identifying this issue.

@magento-engcom-team
Copy link
Contributor

@erik-augustin we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.

@magento-engcom-team
Copy link
Contributor

@erik-augustin, we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.

@erik-augustin
Copy link
Author

problem still in 2.1.9 when i click add text swatch attrib to edit
image

1 exception(s):
Exception #0 (Exception): Notice: Uninitialized string offset: 0 in /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php on line 91

Exception #0 (Exception): Notice: Uninitialized string offset: 0 in /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php on line 91
#0 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(91): Magento\Framework\App\ErrorHandler->handler(8, 'Uninitialized s...', '/home/78667-613...', 91, Array)
#1 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(47): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual->reformatSwatchLabels(Array)
#2 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/AbstractSwatch.php(48): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual->createStoreValues('0', '93')
#3 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-eav/Block/Adminhtml/Attribute/Edit/Options/Options.php(155): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\AbstractSwatch->_prepareUserDefinedAttributeOptionValues(Object(Magento\Eav\Model\Entity\Attribute\Option), 'radio', Array)
#4 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-eav/Block/Adminhtml/Attribute/Edit/Options/Options.php(118): Magento\Eav\Block\Adminhtml\Attribute\Edit\Options\Options->_prepareOptionValues(Object(Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor), Object(Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\Collection))
#5 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/Block/Adminhtml/Attribute/Edit/Options/Visual.php(63): Magento\Eav\Block\Adminhtml\Attribute\Edit\Options\Options->getOptionValues()
#6 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-swatches/view/adminhtml/templates/catalog/product/attribute/visual.phtml(137): Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual->getJsonConfig()
#7 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/78667-613...')
#8 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual), '/home/78667-613...', Array)
#9 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/home/78667-613...')
#10 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#11 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Backend\Block\Template->toHtml()
#12 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#13 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->renderBlock('main_schedule_b...')
#14 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main_schedule_b...')
#15 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main_schedule_b...')
#16 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main_schedule_b...', true)
#17 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('main_schedule_b...')
#18 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->renderContainer('main')
#19 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main')
#20 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main')
#21 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', true)
#22 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(499): Magento\Framework\View\Layout\Interceptor->renderElement('main', true)
#23 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/module-catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php(37): Magento\Framework\View\Element\AbstractBlock->getChildHtml('main')
#24 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(658): Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tabs->beforeToHtml()
#25 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#26 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->renderBlock('attribute_edit...')
#27 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('attribute_edit
...')
#28 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('attribute_edit
...')
#29 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('attribute_edit
...', true)
#30 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('attribute_edit
...')
#31 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('left')
#32 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('left')
#33 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('left')
#34 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('left', true)
#35 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('left')
#36 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('side.col')
#37 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('side.col')
#38 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('side.col')
#39 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('side.col', true)
#40 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('side.col')
#41 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.main.conta...')
#42 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.main.conta...')
#43 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.conta...')
#44 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.main.conta...', true)
#45 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.main.conta...')
#46 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.content')
#47 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.content')
#48 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content')
#49 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.content', true)
#50 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.content')
#51 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#52 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#53 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#54 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', true)
#55 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper')
#56 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('backend.page')
#57 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('backend.page')
#58 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page')
#59 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('backend.page', true)
#60 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('backend.page')
#61 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('root')
#62 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#63 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#64 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#65 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Layout.php(938): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#66 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(492): Magento\Framework\View\Layout->getOutput()
#67 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Result/Page.php(243): Magento\Framework\View\Layout\Interceptor->getOutput()
#68 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/View/Result/Layout.php(164): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#69 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#70 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/App/Http.php(139): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#71 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#72 /home/78667-61384.cloudwaysapps.com/ufpxeczjgw/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#73 {main}

@erik-augustin
Copy link
Author

found cause of problem and reported problem at store manager team:

importing product with new value of text swatch value creates incomplete stucture in database
opening attribute in admin magento with textswatches gives error likes this

#7654

deleting incomplete textswatch in magento store manager and upload change fixes problem please fix this problem asap.

@kinjal153mehta
Copy link

Hi, we resolve it with print log in core function and we found an option with void value. We removed it from DB and all works fine.

hi this solution is not worked form me i still get the same error can you please suggest me ?

magento-devops-reposync-svc pushed a commit that referenced this issue May 28, 2022
CABPI-425: SignIn with AdobeID Button is missing on Login Page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update
Projects
None yet
Development

No branches or pull requests

7 participants