Questions tagged [magento-framework]
The magento-framework tag has no usage guidance.
12
questions
0
votes
0
answers
13
views
Magento 2 - Empty API call performance
I would like to know how you are doing either locally or ideally in production on an empty (rest or graph I guess) API call.
Basically, how much time does Magento take to just load without even doing ...
0
votes
1
answer
39
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() ...
1
vote
2
answers
538
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
0
answers
919
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
184
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
225
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
616
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
206
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
2
answers
200
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
5
answers
8k
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
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
214
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 ...