Questions tagged [magento2.4]

Denotes questions related to the features included in Magento version 2.4.x

1767 questions
48
votes
12 answers

You need to configure Two-Factor Authorization in order to proceed

Having just installed 2.4.0 from scratch, I ran into an "issue" when logging into Magento Backend for the first time: Failed to send the message. Please contact the administrator You need to configure Two-Factor Authorization in order to proceed…
Craig
  • 2,650
  • 3
  • 15
  • 37
11
votes
2 answers

Magento Controller deprecated action class confusion

On Magento 2.4 i found this class extends (extends \Magento\Framework\App\Action\Action) show deprecated. Ref : Screenshot at end of the question But Magento core use this code. I mean in core code they extends this class. As per knowledge if a code…
Shuvankar Paul
  • 410
  • 6
  • 17
6
votes
3 answers

Magento 2.4 Class Magento\Framework\Search\Adapter\Mysql\Mapper does not exist

I just upgraded my Magento version to the latest Magento version 2.4.0. after a successful upgrade, while I am trying to set production mode I am getting error like Compilation was started. Area configuration aggregation... 5/8…
Navin Bhudiya
  • 2,988
  • 9
  • 37
  • 69
4
votes
2 answers

How to install Magento 2.4.0?

I would like to install Magento 2.4.0 on server without Elasticsearch require during installation. Can anybody tell me the way to disable Elasticsearch require when I run setup:install ... ? Thank you so much.
Neverland
  • 101
  • 1
  • 5
3
votes
1 answer

Correct URL syntax to be given for admin grid custom buttons

I am using Magento version 2.4 and with a need to have a custom button in admin products listing, which would redirect users to a custom admin page. I created view/adminhtml/product_listing.xml with following code.
3
votes
0 answers

Unknown connection name amqp

i have a magento 2.4.4 version and i'm bot able to complete checkout for followinmg critical error: [2022-04-21 14:46:45] main.CRITICAL: Unknown connection name amqp {"exception":"[object] (LogicException(code: 0): Unknown connection name amqp…
user3718303
  • 73
  • 1
  • 7
3
votes
4 answers

Magento 2.4 Uncaught Error: Cannot instantiate interface

I was trying to upgrade from magento 2.3.6 to 2.4.2. Now I have an issue that any php bin/magento command is giving an error: PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\Interception\ConfigLoaderInterface in…
justadev
  • 235
  • 1
  • 2
  • 11
2
votes
1 answer

Purpose of change to isEmailAvailable() function

Between these two commits, around line 1136, one of the differences/additions is…
johnsnails
  • 123
  • 5
2
votes
2 answers

how to get SUM of value from the collection?

I'm trying to get some of the values from the collection, below is my code. request->getParam('filter'); $operator_id = $this->request->getParam('operator_id'); try{…
Rushikesh Solanki
  • 909
  • 12
  • 28
2
votes
0 answers

Custom payment method not appearing in checkout (Magento 2.4)

I have been trying for a few days to create a custom payment method in checkout to implement a payment gateway from a new payment provider. So far I have seen many informations and tutorials but nothing ever show up in the frontend (I have the…
Jerome
  • 21
  • 2
1
vote
1 answer

di compile error after upgrading from 2.4.5-p4 to 2.4-5-p5

I recently upgraded a Magento instance from version 2.4.5-p4 to 2.4.5-p5 . Its running on PHP 7.4.9 . Its a AWS/bitnami instance. The upgrade seems succesful (no errors shown in front end or admin, when the version is checked it show 2.4.5-p5…
1
vote
0 answers

Add field to Checkout

I created a custom field for customer:
carlos
  • 37
  • 3
1
vote
1 answer

I can't add custom css file

I created the default_head_blocks.xml file in app/design/frontend/Magento_Theme/luma/layout and the local-m.css file in app/design/frontend/web/css/ and the code for the xml is:
ben
  • 13
  • 2
1
vote
2 answers

Creating custom redirect payment method?

I've been having trouble finding documentation to implement a custom payment method. The flow needs to be like this: User selects [custom payment method] on the checkout page. Order is placed. afterOrderPlaced should check if [custom payment…
user114308
1
vote
1 answer

Custom Attributes and Shipping Method

I'm very new to Magento. I installed version 2.4.6. And I'm trying to make a shipping method to estimate the cost of shipping. I created three new products' attributes (height, width, and length), plus the weight that comes by default. And I need to…
carlos
  • 37
  • 3
1
2 3
8 9