Questions tagged [magento-framework]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Magento 2: Override Magento Framework class Not working

I want to override this class function in Magento 2 \Magento\Framework\HTTP\PhpEnvironment\Request::getServer() etc/module.xml <module name="Test_Override" setup_version="1.0.0"&...
0
votes
1answer
17 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\...
0
votes
1answer
11 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....
0
votes
4answers
1k 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 ...
1
vote
1answer
698 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
1answer
58 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 ...