cancel
Showing results for 
Search instead for 
Did you mean: 

Error when I edit theme - Design Configuration

SOLVED

Error when I edit theme - Design Configuration

Hi - I desperately need some help figuring this out. I have been working on my website for the past few months. I was working on setting up email templates and wanted to change the email header template. When I tried to edit the theme in Content > Design > Configuration - I get the error:

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 620062521515

I looked at the error file and not being a techie, I couldn't tell what the error is! Contents of the file:

"a:4:{i:0;s:87:"The configuration parameter "componentType" is a required for "swatch_image" component.";i:1;s:8169:"#0 /home//public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(361): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)

#1 /home//public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(361): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)

#2 /home//public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(361): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)

#3 /home//public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(272): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)

#4 /home//public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(164): Magento\Framework\View\Element\UiComponentFactory->mergeMetadata('design_config_f...', Array, false)

#5 /home//public_html/vendor/magento/framework/View/Layout/Generator/UiComponent.php(124): Magento\Framework\View\Element\UiComponentFactory->create('design_config_f...', NULL, Array)

#6 /home//public_html/vendor/magento/framework/View/Layout/Generator/UiComponent.php(93): Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(Object(Magento\Framework\View\Layout\Data\Structure), 'design_config_f...', Array, Object(Magento\Framework\View\Layout\Interceptor))

----

#39 /home//public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()

#40 /home//public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #41 {main}";s:3:"url";s:129:"/admin5203/theme/design_config/edit/scope/stores/scope_id/1/key/eae185ff7fcfff1f39be496e92500a7e54900b9784992f6bc0b079303d997556/";s:11:"script_name";s:10:"/index.php";}

 

I did change the permissions on the Var folder.

Thanks in advance!

1 REPLY

Re: Error when I edit theme - Design Configuration

Hi @arunav949,


Did you checked the answer you got on https://community.magento.com/t5/PWA-Theming-Layout-Design/Magento2-Error-when-trying-to-edit-theme-... ?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"