Skip to main content
Share Your Experience: Take the 2024 Developer Survey
10 votes
Accepted

Uncaught TypeError: url.indexOf is not a function

Cause: Here's jquery 3 release note: https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/ Removed deprecated event aliases (https://github.com/jquery/jquery/issues/2286) .load, .unload, and ...
Mukesh Chapagain's user avatar
8 votes
Accepted

Magento 2.4.5 layered navigation filter not working after upgrade 2.4.3 to 2.4.5

This issue has already been resolved in Magento 2.4-develop branch. To apply the fix, apply this patch: https://github.com/magento/magento2/commit/a9170022cce29993e586ffaa6f4c1cc357ee3b11.diff Related ...
Tu Van's user avatar
  • 7,153
7 votes
Accepted

Minicart component not working after 2.4.5 upgrade

This turned out to be an extension (Scommerce AnalyticsSync) trying to require "jquery/jquery.cookie" in it's JavaScript in a file called "tracking.phtml", changing the dependency ...
fin's user avatar
  • 71
6 votes
Accepted

Uncaught TypeError: locations.each is not a function in Magento admin showing occasionally on system configuration page in 2.4.5

Step-1 Run the below command to install the patch package. composer require cweagans/composer-patches Step-2 add the below lines in your composer.json file "extra": { "magento-...
Msquare's user avatar
  • 9,103
5 votes

Learning Magento

Devdocs will be a good place to start - https://developer.adobe.com/commerce/php/development/ There are some courses available on https://m.academy/ and yireo.com both paid and free. You can also try ...
Vivek Kumar's user avatar
  • 5,395
4 votes

Class "Magento\Framework\Component\ComponentRegistrar" not found in setup/src/Magento/Setup/registration.php:9

The official system requirements for Magento 2.4.5 state that Composer 2.2 is supported. However, as of the time of writing, Composer 2.2.0 throws the error you posted during composer install or ...
Jason Carter's user avatar
4 votes
Accepted

Magento 2.4.5 image in order email

You should declare $_imageHelper variable before use: $_imageHelper = $this->helper(\Magento\Catalog\Helper\Image::class); The result, your Magento_Sales/templates/email/items/order/default.phtml ...
Tu Van's user avatar
  • 7,153
3 votes

Magento 2.4.5 - Good to go?

Yes, Magento 2.4.5 is now good to go in cases: You setup a new Magento site You upgrade from an older Magento version and your custom modules, 3rd-party modules compatible with PHP 8.1 If case you ...
Tu Van's user avatar
  • 7,153
3 votes

Magento 2.4.5 layered navigation filter not working after upgrade 2.4.3 to 2.4.5

Solutions 1. Total count in the toolbar is wrong https://magento.stackexchange.com/a/362881/1883 Create a patch to disable the update_toolbar_count plugin. Core file: vendor/magento/module-inventory-...
Mukesh Chapagain's user avatar
3 votes

What is the easiest way to upgrade from Magento 2.4.5 to 2.4.5-p1?

Exactly what it says in the error composer require-commerce magento/product-community-edition 2.4.5-p1 --no-update
elfling's user avatar
  • 768
3 votes
Accepted

mini_cart_product_thumbnail not sizing to values set in etc/view.xml

The config for Mini cart thumbnail image was changed recently since magento 2.4.0. So, if your magento version is >= 2.4.0, you have to double the size of width, height, so your new code will be ...
Tu Van's user avatar
  • 7,153
3 votes

Uncaught TypeError: locations.each is not a function in Magento admin showing occasionally on system configuration page in 2.4.5

Use the patch to get it fixed. diff --git a/vendor/paypal/module-braintree-core/view/adminhtml/web/js/system.js b/vendor/paypal/module-braintree-core/view/adminhtml/web/js/system.js index 1313f215e.....
Sandipan S's user avatar
3 votes

Magento 2.4.5 layered navigation filter showing incorrect results

I was facing the same issue when I upgraded my magento store from 2.4.4 to 2.4.5-p1. Solution1: I found this patch and fixed the issue. https://github.com/magento/magento2/commit/...
Praveen Tyagi's user avatar
3 votes
Accepted

Configurable product swatches not displayed crossed out when out of stock in Magento 2.4.5-p1

i am in Magento 2.4.5-p1 Searching y found a solution. It final fix will be released in Magento 2.4.6 But for now i try this solution, and work for me: Original post: https://github.com/magento/...
InventorPlatin's user avatar
3 votes
Accepted

How to override page builder upload.php in magento 2.4.5?

You can follow these steps: Create a new module or use an existing one to contain your customizations. For example, you can create a module called Vendor_Module. In your module directory, create a ...
Navneet Sharma's user avatar
3 votes

Magento 2.4.5-p2 admin grid are stuck on loading until refresh the page

Probably related to a bug that is caused by Adobe and their tracking tool. Try the following: bin/magento config:set admin/usage/enabled 0; bin/magento cache:clean; More info can be found here: https:...
JJ15's user avatar
  • 855
3 votes

How do I set the minimum quantity and default quantity to be different?

There is no native way to set a different Minimum Quantity and Default Quantity. Here is how Magento determines which is the "Default Quantity" : \Magento\Catalog\Block\Product\View::...
Cladiuss's user avatar
  • 1,277
3 votes
Accepted

Exception error : Unable to send data to service in Magento SaaSCommon module Magento 2.4.5 EE

This is a feature in Enterprise edition for using Saas (Software as a Service) features as Adobe Sensei for an example. And the catalog sync process runs hourly to allow Commerce services to use ...
Arjun B's user avatar
  • 66
3 votes

display products onclick category url only if attribute value is yes

when u are using PWA Magento 2.4.5 Venia Theme then you can't use classic Magento templates from modules. Magento theme is based on PHP and HTML and is part of classic Magento approach. PWA Venia is ...
K. Maliszewski's user avatar
3 votes
Accepted

display products onclick category url only if attribute value is yes

Yes, I noticed your comments. You are using a product query to retrieve products, so you can simply add your attribute filter to your existing query. Product Query: https://developer.adobe.com/...
Msquare's user avatar
  • 9,103
3 votes
Accepted

Exception #0 (Exception): Notice: Undefined variable: fp in Backend

You encountered this error because the variable $fp is declared inside the foreach loop, but you are trying to access it outside of the loop. To resolve this issue, move the code fclose($fp); from ...
Tu Van's user avatar
  • 7,153
2 votes

Magento 2.4.5 layered navigation filter showing incorrect results

My issue is connected to this issue reported here Custom sorting on category pages not working if out of stock products are shown #36113 The issue is that if show out of stock products is enabled, ...
Stephen McAleer's user avatar
2 votes

Magento 2.4.5 layered navigation filter showing incorrect results

You should change Display product out of stock configuration settings. Make sure it is set to No from STORES > Configuration > Catalog > Inventory > Display Out of Stock Products settings....
Arsalan's user avatar
  • 51
2 votes

Minicart component not working after 2.4.5 upgrade

In the last weeks we have been locally migrating our Magento to 2.4.5 I had a similar issue in minicart and other ui component like shipping address on checkout page In my case the problem was the ...
Alex's user avatar
  • 81
2 votes

What is the easiest way to upgrade from Magento 2.4.5 to 2.4.5-p1?

you can upgrade using the following commands: bin/magento maintenance:enable composer require magento/product-community-edition=2.4.5-p1 --no-update composer update rm -rf var/cache/* rm -rf var/...
Jtidd's user avatar
  • 135
2 votes
Accepted

Magento 2.4.5-p1 - no products listed in categories and search

That is a Magento core issue, it is fixed and will update in the next release: https://github.com/magento/magento2/issues/35900 Related commit: https://github.com/magento/magento2/commit/...
Tu Van's user avatar
  • 7,153
2 votes

Uncaught TypeError: utils.formatPriceLocale is not a function

I faced the same issue when I upgraded one of the website from Magento2.4.4 to Magento2.4.5-p2. After investing lots of hours I debugged the issue so I thought to share my findings here so that It may ...
Praveen Tyagi's user avatar
2 votes

Learning Magento

This is one of the best websites for learning along with practical implementations as well. Step by step guide https://www.tutorialspoint.com/magento/index.htm
Ahsan Horani's user avatar
2 votes

Learning Magento

You may start from official document first. Official document: https://developer.adobe.com/commerce/docs About certified (similar question from here): Studying to become a Magento Certified Developer ...
rangerz's user avatar
  • 180
2 votes

Learning Magento

I think the best website to learn Magento is Devdocs the official Magento documentation. https://experienceleague.adobe.com/#home Then I think the MagePlaza will tell you the basic Concepts. https://...
Rana Zain's user avatar
  • 658

Only top scored, non community-wiki answers of a minimum length are eligible