Skip to main content

Questions tagged [magento-framework]

Filter by
Sorted by
Tagged with
2 votes
2 answers
172 views

Widget not inserting or saving when the word 'type' is used anywhere in the text after a quotation mark

For a little context, we have recently made the decision to disable page builder and move towards a component-driven content entry approach utilising widgets. We have a "Generic Text" widget,...
0 votes
1 answer
56 views

Magento 2: Upgrade issue 2.4.5 to 2.4.6 | issue with framework repo

While Upgrading from version 2.4.5 - 2.4.6 facing issue with Command use for upgrade composer require magento/product-enterprise-edition 2.4.6 -W error faced during upgrade Warning: foreach() ...
0 votes
2 answers
247 views

Magento 2: Not able to delete second layout in widget

Magento 2.4 Admin > Content > widget After creating a new widget I have added two layouts. When I had tried to delete the second layout then the delete button is not worked. https://drive....
1 vote
2 answers
782 views

How to override vendor\magento\framework\View\Page\Config\Renderer.php in Module

Thanks in advance :) I can confirm the module is working correctly. I have tried adding the following to the di.xml file in my module: <preference for="Magento\Framework\View\Page\Config\...
2 votes
5 answers
9k views

ReflectionException: Class Interceptor does not exist in /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php:19

I'm getting this error on my homepage ReflectionException: Class Magento\Framework\App\Http\Interceptor does not exist in /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php:19 Stack ...
2 votes
0 answers
1k views

Magento 2.3 -> 2.4: CLI commands all throw "Area code is not set"

The story so far: I'm updating Magento from 2.3 to 2.4 and in doing so I'm now getting an "Area code is not set" when running any CLI command. This did not happen in 2.3 and after looking at ...
1 vote
0 answers
252 views

Magento 2: Something went wrong while enabling the profiler

I have a problem with enabling html profiler in Magento 2 by command php bin/magento dev:profiler:enable html It shows me this message: Something went wrong while enabling the profiler.
0 votes
0 answers
281 views

Magento 2.4 - Error encountered after installing new theme error: Requested path '' is wrong

I installed a third party theme and for some reason it broke my Magento server, Now I am unable to see the frontend and backend. I cannot access the admin panel to switch it back to the default luma ...
0 votes
0 answers
750 views

Apply composer patch from a required composer module

I wonder how and if it is possible to apply a patch or if there's any other solution to modify the magento/framework from a required composer package. Patch successfully applied. The following patch ...
1 vote
1 answer
275 views

Adding Extra Parameters to Select Element HTML

I am creating a custom module and using Magneto's core framework to render a select box using code as below: $this->getLayout()->createBlock( 'Magento\Framework\View\Element\Html\...
1 vote
1 answer
2k views

how to Override Magento\Framework\View\Element\Html\Link\Current File in Magento 2

Problem I want to add an attribute to current link in Magento 2 Customer Dashboard i Checked Magento\Framework\View\Element\Html\Link\Current, there in Line 119 All the Link Having an Li have a ...
0 votes
1 answer
235 views

Magento 2 How to override framework feed file?

I am trying to override Magento Framework Feed.php file, After googling alot I found how to override framework file but that's not worked for me. Please give me the right eay to override framework ...