cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create a new widget (CE 2.3.5)

Unable to create a new widget (CE 2.3.5)

Hello there, I'm trying to add a new widget at the admin panel, but whenever I configure it and click continue, this shows up, I disabled all custom modules, but can't figure it out (the widget I'm trying to make displays products at my homepage either as sliders or grids).

1 exception(s):
Exception #0 (Exception): Notice: Undefined index: template in /var/www/html/vendor/magento/module-backend/Block/Widget/Form/Element/Dependence.php on line 152

Exception #0 (Exception): Notice: Undefined index: template in /var/www/html/vendor/magento/module-backend/Block/Widget/Form/Element/Dependence.php on line 152
<pre>#1 Magento\Backend\Block\Widget\Form\Element\Dependence->_getDependsJson() called at [vendor/magento/module-backend/Block/Widget/Form/Element/Dependence.php:128]
#2 Magento\Backend\Block\Widget\Form\Element\Dependence->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1100]
#3 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104]
#4 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674]
#5 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [generated/code/Magento/Backend/Block/Widget/Form/Element/Dependence/Interceptor.php:336]
#6 Magento\Backend\Block\Widget\Form\Element\Dependence\Interceptor->toHtml() called at [vendor/magento/framework/View/Layout.php:566]
#7 Magento\Framework\View\Layout->_renderBlock('widget\form\elem...') called at [vendor/magento/framework/View/Layout.php:542]
#8 Magento\Framework\View\Layout->renderNonCachedElement('widget\form\elem...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#9 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('widget\form\elem...') called at [vendor/magento/framework/View/Layout.php:497]
#10 Magento\Framework\View\Layout->renderElement('widget\form\elem...', true) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#11 Magento\Framework\View\Layout\Interceptor->renderElement('widget\form\elem...', true) called at [vendor/magento/framework/View/Element/AbstractBlock.php:521]
#12 Magento\Framework\View\Element\AbstractBlock->getChildHtml('form_after') called at [vendor/magento/module-backend/view/adminhtml/templates/widget/form.phtml:15]
#13 include('/var/www/html/ve...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#14 Magento\Framework\View\TemplateEngine\Php->render(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#, '/var/www/html/ve...', array('csp' => &Magento\Csp\Helper\InlineUtil#000000005f941690000000005c77fa1a#)) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#15 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', array(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#, '/var/www/html/ve...', array('csp' => &Magento\Csp\Helper\InlineUtil#000000005f941690000000005c77fa1a#))) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#16 Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#, '/var/www/html/ve...', array()) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#17 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', array(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#, '/var/www/html/ve...', array()), array(array('csp_helper_plugi...'))) called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:26]
#18 Magento\Framework\View\TemplateEngine\Php\Interceptor->render(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#, '/var/www/html/ve...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#19 Magento\Framework\View\Element\Template->fetchView('/var/www/html/ve...') called at [vendor/magento/framework/View/Element/Template.php:301]
#20 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/module-backend/Block/Template.php:129]
#21 Magento\Backend\Block\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1100]
#22 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104]
#23 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674]
#24 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/module-backend/Block/Widget/Tabs.php:492]
#25 Magento\Backend\Block\Widget\Tabs->getTabContent(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#) called at [vendor/magento/module-backend/view/adminhtml/templates/widget/tabs.phtml:58]
#26 include('/var/www/html/ve...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#27 Magento\Framework\View\TemplateEngine\Php->render(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tabs#000000005f940990000000005c77fa1a#, '/var/www/html/ve...', array('tabs' => array('settings_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Settings#000000005f940997000000005c77fa1a#, 'main_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Main#000000005f940992000000005c77fa1a#, 'properties_secti...' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#), 'csp' => &Magento\Csp\Helper\InlineUtil#000000005f941690000000005c77fa1a#)) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#28 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', array(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tabs#000000005f940990000000005c77fa1a#, '/var/www/html/ve...', array('tabs' => array('settings_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Settings#000000005f940997000000005c77fa1a#, 'main_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Main#000000005f940992000000005c77fa1a#, 'properties_secti...' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#), 'csp' => &Magento\Csp\Helper\InlineUtil#000000005f941690000000005c77fa1a#))) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#29 Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tabs#000000005f940990000000005c77fa1a#, '/var/www/html/ve...', array('tabs' => array('settings_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Settings#000000005f940997000000005c77fa1a#, 'main_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Main#000000005f940992000000005c77fa1a#, 'properties_secti...' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#))) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#30 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', array(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tabs#000000005f940990000000005c77fa1a#, '/var/www/html/ve...', array('tabs' => array('settings_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Settings#000000005f940997000000005c77fa1a#, 'main_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Main#000000005f940992000000005c77fa1a#, 'properties_secti...' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#))), array(array('csp_helper_plugi...'))) called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:26]
#31 Magento\Framework\View\TemplateEngine\Php\Interceptor->render(&Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tabs#000000005f940990000000005c77fa1a#, '/var/www/html/ve...', array('tabs' => array('settings_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Settings#000000005f940997000000005c77fa1a#, 'main_section' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Main#000000005f940992000000005c77fa1a#, 'properties_secti...' => &Magento\Widget\Block\Adminhtml\Widget\Instance\Edit\Tab\Properties#000000005f940995000000005c77fa1a#))) called at [vendor/magento/framework/View/Element/Template.php:271]
#32 Magento\Framework\View\Element\Template->fetchView('/var/www/html/ve...') called at [vendor/magento/framework/View/Element/Template.php:301]
#33 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/module-backend/Block/Template.php:129]
#34 Magento\Backend\Block\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1100]
#35 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104]
#36 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674]
#37 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:566]
#38 Magento\Framework\View\Layout->_renderBlock('widget_instance_...') called at [vendor/magento/framework/View/Layout.php:542]
#39 Magento\Framework\View\Layout->renderNonCachedElement('widget_instance_...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#40 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('widget_instance_...') called at [vendor/magento/framework/View/Layout.php:497]
#41 Magento\Framework\View\Layout->renderElement('widget_instance_...', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#42 Magento\Framework\View\Layout\Interceptor->renderElement('widget_instance_...', false) called at [vendor/magento/framework/View/Layout.php:594]
#43 Magento\Framework\View\Layout->_renderContainer('left', false) called at [vendor/magento/framework/View/Layout.php:544]
#44 Magento\Framework\View\Layout->renderNonCachedElement('left') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#45 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('left') called at [vendor/magento/framework/View/Layout.php:497]
#46 Magento\Framework\View\Layout->renderElement('left', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#47 Magento\Framework\View\Layout\Interceptor->renderElement('left', false) called at [vendor/magento/framework/View/Layout.php:594]
#48 Magento\Framework\View\Layout->_renderContainer('side.col', false) called at [vendor/magento/framework/View/Layout.php:544]
#49 Magento\Framework\View\Layout->renderNonCachedElement('side.col') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#50 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('side.col') called at [vendor/magento/framework/View/Layout.php:497]
#51 Magento\Framework\View\Layout->renderElement('side.col', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#52 Magento\Framework\View\Layout\Interceptor->renderElement('side.col', false) called at [vendor/magento/framework/View/Layout.php:594]
#53 Magento\Framework\View\Layout->_renderContainer('page.main.contai...', false) called at [vendor/magento/framework/View/Layout.php:544]
#54 Magento\Framework\View\Layout->renderNonCachedElement('page.main.contai...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#55 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.contai...') called at [vendor/magento/framework/View/Layout.php:497]
#56 Magento\Framework\View\Layout->renderElement('page.main.contai...', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#57 Magento\Framework\View\Layout\Interceptor->renderElement('page.main.contai...', false) called at [vendor/magento/framework/View/Layout.php:594]
#58 Magento\Framework\View\Layout->_renderContainer('page.content', false) called at [vendor/magento/framework/View/Layout.php:544]
#59 Magento\Framework\View\Layout->renderNonCachedElement('page.content') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#60 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content') called at [vendor/magento/framework/View/Layout.php:497]
#61 Magento\Framework\View\Layout->renderElement('page.content', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#62 Magento\Framework\View\Layout\Interceptor->renderElement('page.content', false) called at [vendor/magento/framework/View/Layout.php:594]
#63 Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:544]
#64 Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#65 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') called at [vendor/magento/framework/View/Layout.php:497]
#66 Magento\Framework\View\Layout->renderElement('page.wrapper', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#67 Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:594]
#68 Magento\Framework\View\Layout->_renderContainer('backend.page', false) called at [vendor/magento/framework/View/Layout.php:544]
#69 Magento\Framework\View\Layout->renderNonCachedElement('backend.page') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#70 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page') called at [vendor/magento/framework/View/Layout.php:497]
#71 Magento\Framework\View\Layout->renderElement('backend.page', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#72 Magento\Framework\View\Layout\Interceptor->renderElement('backend.page', false) called at [vendor/magento/framework/View/Layout.php:594]
#73 Magento\Framework\View\Layout->_renderContainer('root', false) called at [vendor/magento/framework/View/Layout.php:544]
#74 Magento\Framework\View\Layout->renderNonCachedElement('root') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#75 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') called at [vendor/magento/framework/View/Layout.php:497]

 

The error is far longer, but couldn't post more than this.

1 REPLY 1

Re: Unable to create a new widget (CE 2.3.5)

@varulv Please try the below link and let me know if it solves your problem.

https://magento.stackexchange.com/questions/173331/error-when-creating-new-widget

Thanks