cancel
Showing results for 
Search instead for 
Did you mean: 

'Mage_Widget_Block_Interface' for M2

SOLVED

'Mage_Widget_Block_Interface' for M2

The creator of my template is refusing support, so I'm left to find answers on my own. Some of the XML files had legacy (M1) code in it that I'm trying to get working. Right now it's killing my compiling.

 

This particular class 

class Field_Base_Block_Widget_Twitter extends \Magento\Framework\View\Element\Template implements Mage_Widget_Block_Interface

is causing a segmentation fault. 

 

PHP Fatal error:  Interface 'Mage_Widget_Block_Interface' not found in /html/app/code/Field/BaseWidget/Block/Widget/Twitter.php on line 2
Segmentation fault

What do I need to get this fault corrected?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: 'Mage_Widget_Block_Interface' for M2

Hey,

 

please check below code

 

class Field_Base_Block_Widget_Twitter extends \Magento\Framework\View\Element\Template implements \Magento\Widget\Block\BlockInterface

If solution right then mark as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

View solution in original post

3 REPLIES 3

Re: 'Mage_Widget_Block_Interface' for M2

Hey,

 

please check below code

 

class Field_Base_Block_Widget_Twitter extends \Magento\Framework\View\Element\Template implements \Magento\Widget\Block\BlockInterface

If solution right then mark as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: 'Mage_Widget_Block_Interface' for M2

It sure does! Thanks.

 

Now on to fixing the next errors I'm finding Smiley Sad

Re: 'Mage_Widget_Block_Interface' for M2

Hello,

 

@AmagArtwork thanks

let me know if you have any problem


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer