Skip to main content

Questions tagged [magento-framework]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers

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,...
Matthew Dewhurst's user avatar
0 votes
0 answers

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 ...
MaryShaw's user avatar
0 votes
1 answer

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() ...
Paras Arora's user avatar
1 vote
2 answers

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\...
Joshua34's user avatar
  • 2,317
2 votes
0 answers

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 ...
Higgs's user avatar
  • 21
1 vote
0 answers

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.
Yasir Minhaj's user avatar
0 votes
0 answers

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 ...
Tim's user avatar
  • 1
0 votes
0 answers

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 ...
Koen de Bont's user avatar
1 vote
1 answer

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\...
NileshPlus91's user avatar
0 votes
2 answers

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....
Bhavesh Prajapati's user avatar
2 votes
5 answers

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 ...
Claims's user avatar
  • 1,191
1 vote
1 answer

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 ...
Waqar Ali's user avatar
  • 2,349
0 votes
1 answer

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 ...
temper's user avatar
  • 1,014