mage2pro / core

Mage2.PRO core package
https://upwork.com/fl/mage2pro
MIT License
10 stars 13 forks source link

«Df\Widget\P\Wysiwyg does not implement BlockInterface» #393

Closed dmitrii-fediuk closed 2 months ago

dmitrii-fediuk commented 2 months ago

Related to https://github.com/mage2pro/core/issues/392

{
    "mage2pro/core": "11.0.5",
    "Magento": "2.4.4",
    "PHP": "7.4.9",
    "URL": "https://localhost.com:2255/qyBnTg3ONvZMrIx/admin/widget/loadOptions/?isAjax=true",
    "Time": "2024-06-01 12:02:36",
    "Referer": "https://localhost.com:2255/qyBnTg3ONvZMrIx/cms/page/edit/page_id/41/back/edit/",
    "IP Address": "158.181.235.66",
    "Request Method": "POST",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36",
    "php://input": "widget=%7B%22widget_type%22%3A%22CabinetsBay%5C%5CCatalog%5C%5CWidget%5C%5CFeatured%22%2C%22values%22%3A%7B%22categoryIds%22%3A%223628%2C6585%2C4947%22%2C%22cmsBlockId%22%3A%22home-page-popular-kitchen%22%7D%7D&form_key=ZpXsvj1CbdiAGcq5",
    "Post": {
        "widget": "{\"widget_type\":\"CabinetsBay\\\\Catalog\\\\Widget\\\\Featured\",\"values\":{\"categoryIds\":\"3628,6585,4947\",\"cmsBlockId\":\"home-page-popular-kitchen\"}}",
        "form_key": "ZpXsvj1CbdiAGcq5"
    }
}
EXCEPTION
Df\Widget\P\Wysiwyg does not implement BlockInterface
************************************
[]
************************************
1   Magento\Framework\View\Element\BlockFactory::createBlock
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Element/BlockFactory.php#L46
    vendor/magento/framework/View/Element/BlockFactory.php:46

2   Magento\Framework\View\Layout\Generator\Block::getBlockInstance
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout/Generator/Block.php#L272
    vendor/magento/framework/View/Layout/Generator/Block.php:272

3   Magento\Framework\View\Layout\Generator\Block::createBlock
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout/Generator/Block.php#L252
    vendor/magento/framework/View/Layout/Generator/Block.php:252

4   Magento\Framework\View\Layout::_createBlock
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L797
    vendor/magento/framework/View/Layout.php:797

5   Magento\Framework\View\Layout::createBlock
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L780
    vendor/magento/framework/View/Layout.php:780

6   Magento\Framework\View\Layout::createBlock
    generated/code/Magento/Framework/View/Layout/Interceptor.php:248

7   Magento\Widget\Block\Adminhtml\Widget\Options::_addField
    https://github.com/magento/magento2/tree/2.4.4/app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php#L213
    vendor/magento/module-widget/Block/Adminhtml/Widget/Options.php:213

8   Magento\Widget\Block\Adminhtml\Widget\Options::addFields
    https://github.com/magento/magento2/tree/2.4.4/app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php#L126
    vendor/magento/module-widget/Block/Adminhtml/Widget/Options.php:126

9   Magento\Widget\Block\Adminhtml\Widget\Options::addFields
    generated/code/Magento/Widget/Block/Adminhtml/Widget/Options/Interceptor.php:41

10  Magento\Widget\Block\Adminhtml\Widget\Options::_prepareForm
    https://github.com/magento/magento2/tree/2.4.4/app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php#L64
    vendor/magento/module-widget/Block/Adminhtml/Widget/Options.php:64

11  Magento\Backend\Block\Widget\Form::_beforeToHtml
    https://github.com/magento/magento2/tree/2.4.4/app/code/Magento/Backend/Block/Widget/Form.php#L156
    vendor/magento/module-backend/Block/Widget/Form.php:156

12  Magento\Framework\View\Element\AbstractBlock::Magento\Framework\View\Element\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Element/AbstractBlock.php#L1094
    vendor/magento/framework/View/Element/AbstractBlock.php:1094

13  Magento\Framework\View\Element\AbstractBlock::_loadCache
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Element/AbstractBlock.php#L1099
    vendor/magento/framework/View/Element/AbstractBlock.php:1099

14  Magento\Framework\View\Element\AbstractBlock::toHtml
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Element/AbstractBlock.php#L660
    vendor/magento/framework/View/Element/AbstractBlock.php:660

15  Magento\Widget\Block\Adminhtml\Widget\Options::toHtml
    generated/code/Magento/Widget/Block/Adminhtml/Widget/Options/Interceptor.php:428

16  Magento\Framework\View\Layout::_renderBlock
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L578
    vendor/magento/framework/View/Layout.php:578

17  Magento\Framework\View\Layout::renderNonCachedElement
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L555
    vendor/magento/framework/View/Layout.php:555

18  Magento\Framework\View\Layout::renderNonCachedElement
    generated/code/Magento/Framework/View/Layout/Interceptor.php:149

19  Magento\Framework\View\Layout::renderElement
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L510
    vendor/magento/framework/View/Layout.php:510

20  Magento\Framework\View\Layout::renderElement
    generated/code/Magento/Framework/View/Layout/Interceptor.php:140

21  Magento\Framework\View\Layout::_renderContainer
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L606
    vendor/magento/framework/View/Layout.php:606

22  Magento\Framework\View\Layout::renderNonCachedElement
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L557
    vendor/magento/framework/View/Layout.php:557

23  Magento\Framework\View\Layout::renderNonCachedElement
    generated/code/Magento/Framework/View/Layout/Interceptor.php:149

24  Magento\Framework\View\Layout::renderElement
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L510
    vendor/magento/framework/View/Layout.php:510

25  Magento\Framework\View\Layout::renderElement
    generated/code/Magento/Framework/View/Layout/Interceptor.php:140

26  Magento\Framework\View\Layout::getOutput
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Layout.php#L975
    vendor/magento/framework/View/Layout.php:975

27  Magento\Framework\View\Layout::getOutput
    generated/code/Magento/Framework/View/Layout/Interceptor.php:347

28  Magento\Framework\View\Result\Layout::render
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Result/Layout.php#L183
    vendor/magento/framework/View/Result/Layout.php:183

29  Magento\Framework\View\Result\Page::render
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Result/Page.php#L266
    vendor/magento/framework/View/Result/Page.php:266

30  Magento\Framework\View\Result\Layout::renderResult
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/View/Result/Layout.php#L171
    vendor/magento/framework/View/Result/Layout.php:171

31  Magento\Backend\Model\View\Result\Page::renderResult
    generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:140

32  Magento\Framework\App\View::renderLayout
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/App/View.php#L221
    vendor/magento/framework/App/View.php:221

33  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::execute
    https://github.com/magento/magento2/tree/2.4.4/app/code/Magento/Widget/Controller/Adminhtml/Widget/LoadOptions.php#L51
    vendor/magento/module-widget/Controller/Adminhtml/Widget/LoadOptions.php:51

34  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::___callParent
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L58
    vendor/magento/framework/Interception/Interceptor.php:58

35  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L138
    vendor/magento/framework/Interception/Interceptor.php:138

36  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::___callPlugins
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L153
    vendor/magento/framework/Interception/Interceptor.php:153

37  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::execute
    generated/code/Magento/Widget/Controller/Adminhtml/Widget/LoadOptions/Interceptor.php:23

38  Magento\Framework\App\Action\Action::dispatch
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/App/Action/Action.php#L111
    vendor/magento/framework/App/Action/Action.php:111

39  Magento\Backend\App\AbstractAction::dispatch
    https://github.com/magento/magento2/tree/2.4.4/app/code/Magento/Backend/App/AbstractAction.php#L151
    vendor/magento/module-backend/App/AbstractAction.php:151

40  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::___callParent
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L58
    vendor/magento/framework/Interception/Interceptor.php:58

41  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L138
    vendor/magento/framework/Interception/Interceptor.php:138

42  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

43  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

44  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

45  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

46  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

47  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

48  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

49  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

50  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

51  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

52  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

53  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

54  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

55  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

56  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

57  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

58  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

59  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

60  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

61  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

62  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

63  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

64  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

65  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

66  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

67  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

68  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

69  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

70  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

71  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

72  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

73  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

74  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

75  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

76  WeltPixel\Backend\Plugin\Utility::aroundDispatch
    app/code/WeltPixel/Backend/Plugin/Utility.php:76

77  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

78  Magento\Backend\App\Action\Plugin\Authentication::aroundDispatch
    https://github.com/magento/magento2/tree/2.4.4/app/code/Magento/Backend/App/Action/Plugin/Authentication.php#L145
    vendor/magento/module-backend/App/Action/Plugin/Authentication.php:145

79  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

80  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::___callPlugins
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L153
    vendor/magento/framework/Interception/Interceptor.php:153

81  Magento\Widget\Controller\Adminhtml\Widget\LoadOptions::dispatch
    generated/code/Magento/Widget/Controller/Adminhtml/Widget/LoadOptions/Interceptor.php:32

82  Magento\Framework\App\FrontController::getActionResponse
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/App/FrontController.php#L245
    vendor/magento/framework/App/FrontController.php:245

83  Magento\Framework\App\FrontController::processRequest
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/App/FrontController.php#L212
    vendor/magento/framework/App/FrontController.php:212

84  Magento\Framework\App\FrontController::dispatch
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/App/FrontController.php#L147
    vendor/magento/framework/App/FrontController.php:147

85  Magento\Framework\App\FrontController::___callParent
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L58
    vendor/magento/framework/Interception/Interceptor.php:58

86  Magento\Framework\App\FrontController::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L138
    vendor/magento/framework/Interception/Interceptor.php:138

87  Magento\Framework\App\FrontController::___callPlugins
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L153
    vendor/magento/framework/Interception/Interceptor.php:153

88  Magento\Framework\App\FrontController::dispatch
    generated/code/Magento/Framework/App/FrontController/Interceptor.php:23

89  Magento\Framework\App\Http::launch
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/App/Http.php#L116
    vendor/magento/framework/App/Http.php:116

90  Magento\Framework\App\Http::___callParent
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L58
    vendor/magento/framework/Interception/Interceptor.php:58

91  Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L138
    vendor/magento/framework/Interception/Interceptor.php:138

92  Df\Framework\Plugin\App\Http::aroundLaunch
    https://github.com/mage2pro/core/tree/11.0.5/Framework/Plugin/App/Http.php#L10
    vendor/mage2pro/core/Framework/Plugin/App/Http.php:10

93  Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L135
    vendor/magento/framework/Interception/Interceptor.php:135

94  Magento\Framework\App\Http::___callPlugins
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/Interception/Interceptor.php#L153
    vendor/magento/framework/Interception/Interceptor.php:153

95  Magento\Framework\App\Http::launch
    generated/code/Magento/Framework/App/Http/Interceptor.php:23

96  Magento\Framework\App\Bootstrap::run
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/App/Bootstrap.php#L264
    vendor/magento/framework/App/Bootstrap.php:264