mage2pro / core

A unique middleware that bridges the gap between the out-of-box Magento / Adobe Commerce software and the needs of real-world information systems
https://upwork.com/fl/mage2pro
MIT License
10 stars 12 forks source link

«Invalid method Df\Widget\P\Wysiwyg\Interceptor::prepareElementHtml» #396

Closed dmitrii-fediuk closed 5 months ago

dmitrii-fediuk commented 5 months ago

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

dmitrii-fediuk commented 5 months ago
{
    "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:51:47",
    "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
Invalid method Df\Widget\P\Wysiwyg\Interceptor::prepareElementHtml
************************************
[]
************************************
1   Magento\Framework\DataObject::__call
    https://github.com/magento/magento2/tree/2.4.4/lib/internal/Magento/Framework/DataObject.php#L405
    vendor/magento/framework/DataObject.php:405

2   Df\Widget\P\Wysiwyg::__call
    generated/code/Df/Widget/P/Wysiwyg/Interceptor.php:554

3   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#L221
    vendor/magento/module-widget/Block/Adminhtml/Widget/Options.php:221

4   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

5   Magento\Widget\Block\Adminhtml\Widget\Options::___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

6   Magento\Widget\Block\Adminhtml\Widget\Options::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

7   Df\Widget\Plugin\Block\Adminhtml\Widget\Options::aroundAddFields
    https://github.com/mage2pro/core/tree/11.0.5/Widget/Plugin/Block/Adminhtml/Widget/Options.php#L13
    vendor/mage2pro/core/Widget/Plugin/Block/Adminhtml/Widget/Options.php:13

8   Magento\Widget\Block\Adminhtml\Widget\Options::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

9   Magento\Widget\Block\Adminhtml\Widget\Options::___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

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

11  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

12  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

13  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

14  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

15  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

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

17  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

18  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

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

20  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

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

22  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

23  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

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

25  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

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

27  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

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

29  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

30  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

31  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

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

33  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

34  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

35  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

36  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

37  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

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

39  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

40  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

41  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

42  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

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

44  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

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

46  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

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

48  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

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

50  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

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

52  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

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

54  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

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

56  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

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

58  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

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

60  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

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

62  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

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

64  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

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

66  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

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

68  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

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

70  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

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

72  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

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

74  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

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

76  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

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

78  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

79  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

80  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

81  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

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

83  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

84  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

85  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

86  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

87  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

88  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

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

90  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

91  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

92  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

93  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

94  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

95  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

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

97  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