Skip to main content

Questions tagged [magento2.4.5p1]

The tag has no usage guidance.

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

Magento 2 Product recommendations: How to hide add to cart button for out of stock products

I want to remove the "Add to cart" button for the out-of-stock products in the product recommendations slider. I have changed the attribute quantity_and_stock_status configuration "Used ...
Arun's user avatar
  • 1
0 votes
0 answers
19 views

How to add the custom jquery in magento2 checkout shipping popup

I need to some jquery functionality in checkout page shipping popup. where I need to add the jquery for that page. Please help me.
venkata prasad's user avatar
1 vote
1 answer
74 views

The consumer isn't authorized to access %resources. Magento 2.4.5-p1 on staging environment

In the testing environment, it gives below errors, { "message": "The consumer isn't authorized to access %resources.", "parameters": { "resources&...
Nilay Kumar's user avatar
0 votes
0 answers
18 views

Magento2: Getting an error: "Element 'move: This element is not expected"

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'move': This element is not expected. Line: 1427 Exception #0 (Magento\Framework\Config\Dom\ValidationException)...
Avinash Jadhav's user avatar
0 votes
1 answer
62 views

How to automatically add comment to comment history on order status change?

I've noticed that when an order goes from Pending to Processing there is no entry created in sales_order_status_history. This is a change from Magento 1, which kept a history entry for every status ...
Votrobeck's user avatar
0 votes
1 answer
44 views

Prices not changing as per country because of varnish , Any idea?

I have varnish configured and its works fine but its not allowing to change the price block as per countries. Varnish is storing prices in caching so how can i make prices works dynamically ? Without ...
Mukesh Prajapati's user avatar
0 votes
0 answers
14 views

Category pages: removing product sorting menu

Can anyone advise on removing the product sorting menu on category and sub category pages? I've manually positioned products and limited sorting to 'position only,' but the menu still shows on the ...
Stephen Kad's user avatar
0 votes
1 answer
217 views

How to create custom Text Swatch product attribute using Data Patch in Magento 2

This code only saves the value (description). But I want to save values in ADMIN and DESCRIPTION both, can anyone help me here: private function addVisualSwatchAttribute() { /** @...
Hafiz Arslan's user avatar
0 votes
0 answers
54 views

Magento 2, In checkout page shipping method is loading while changing the shipping address

Magento 2, On the custom checkout page, the shipping method is loading while I am changing the shipping address and getting the below error in the browser console. js.storage.js:155 Uncaught TypeError:...
Dinesh's user avatar
  • 1
1 vote
0 answers
54 views

Magento 2.4.5 - p1 Getting error while executing MFTF testing with codecept using PHPStorm on XAMPP local

If anyone have idea then please share with me about codecept to execute MFTF I am getting below error PHP Fatal error: Uncaught Error: Undefined constant "Magento\FunctionalTestingFramework\...
Pawan Gajbhiye's user avatar
0 votes
2 answers
654 views

Magento 2 Graphql Additional Product Image Values

Good afternoon all, I am currently working with a custom frontend for Magento 2 that uses Graphql to grab product data: Currently for the product image section we are getting back the following data ...
Baber's user avatar
  • 192
2 votes
1 answer
113 views

Where can I find the download link to download Security patch APSB23-35 and Security patch APSB23-17 for open source Magento 2.4.5 p-1

Where can I find the download link or composer command to download Security patch APSB23-35 and Security patch APSB23-17 for open source Magento 2.4.5 p-1 I checked on the adobe portal, https://...
Eric Taylor's user avatar
1 vote
2 answers
242 views

The website with id 8 that was requested wasn't found. Verify the website and try again

I have multi-store website, And I am getting an error while add customer address from admin side. It is working fine with store id 1 and website id 1. It is not working for store id 8 and website id 2....
MP Raj's user avatar
  • 549
0 votes
1 answer
42 views

How to change default dropdown option for Carrier when creating a shipment

We (almost) always use UPS for our shipments, so it would be nice for that to be the default dropdown menu option that is selected when we go into an order, click ship, and go to add tracking ...
Votrobeck's user avatar
0 votes
1 answer
33 views

Upgraded to Magento 2.4.5-p1. Our SKUs are 13 digits. Search won't return anything unless SKU length is 9 or less. Any ideas?

Search won't return anything unless SKU length is 9 or less. Any ideas ?
RoboxFuze's user avatar
  • 119
0 votes
1 answer
2k views

TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object

I upgraded my website from magento 2.3.6-p1 to 2.4.5-p1, When i run php unit test case for my custom module(This module overides the CreatePassword.php file from Customer module) throws error from ...
jaisa2's user avatar
  • 15
1 vote
0 answers
129 views

Coupon code is not saving at quote table in magento 2

I upgraded my website from 2.3.6-p1 to 2.4.5-p1 . After that when i applied the cart rule with coupon code, it shows the error that The coupon code "GHSDYFEWFCER" is not valid. When ...
jaisa2's user avatar
  • 15
1 vote
0 answers
216 views

Error: Cannot instantiate abstract class Magento\Framework\Model\ResourceModel\AbstractResource

I have Magento enterprise version 2.4.5-p1, I am getting following error in the system.log Error:- .CRITICAL: Error: Cannot instantiate abstract class Magento\Framework\Model\ResourceModel\...
Mitul Vadalia's user avatar
0 votes
0 answers
253 views

Login as a Customer via admin not working in magento 2

I am unable to login to a customer account from magento backend as a admin, eventhough i clicked Login as a customer in popup, but it just reloads the page Please help It redirects frontend , ...
jaisa2's user avatar
  • 15
0 votes
1 answer
228 views

Login as a Customer via admin is not showing while edit a customer in magento 2

I am using magento 2.4.5-p1, enterprise edition, when i tried to logged in to a customer account from adminpanel, i am unable to see the button Called "Logged in as a customer". Please help ...
jaisa2's user avatar
  • 15
1 vote
0 answers
49 views

How to Migrate data from EE 2.4.5-p1 To CE 2.4.6

I installed magento CE 2.4.6 in our local server and i have another database which is on magento EE 2.4.5-p1 and now i want to migrate all data from EE 2.4.5 p-1 to CE 2.4.6.
Abhi_Singh's user avatar
0 votes
1 answer
485 views

Integration Test not working in Custom Module Magento 2

I am creating the Integration test in my custom module. I have installed the module in vendor folder structure is like as vendor/[ModuleVendor]/[ModuleName]/Src I am using below command to run the ...
Jack's user avatar
  • 440
0 votes
1 answer
123 views

Runtime exception : Laminas error in system log

I am getting the following error in the backend. main.CRITICAL: Laminas\Escaper\Exception\RuntimeException: String to be escaped was not valid UTF-8 or could not be converted: [$ 1$][$ 2$] in /var/www/...
Prashanth K's user avatar
0 votes
0 answers
79 views

Call custom Admin Controller in magento 2 product edit giving an error, How to call admin controller in Ajax?

I have created a button in product admin image popup by overriding the gallery.phtml. Created the custom js mixin to the product-gallery.js requirejs-config.js (path - Ayakil/ProcessImage/view/...
Mujahidh's user avatar
  • 2,813
0 votes
1 answer
664 views

Magento 2.4.5 customer-data.js not initiating in Custom theme js file

I have a function of ajax add to cart in below file and doing section reload. below code is in app/design/frontend/MyThemeNS/Mytheme/web/js/custom.js (just mentioning sample for understanding.) ...
Nits's user avatar
  • 53
2 votes
2 answers
2k views

How to upgrade Magento 2 cloud version from 2.4.5-p1 to 2.4.5-p2 ? without upgrade third party extensions

I have tried to upgrade using "composer require-commerce magento/magento-cloud-metapackage:'2.4.5-p2 < 2.4.6' --no-update" this composer command but it's returning the error like Please ...
Raju Sadadiya's user avatar
1 vote
1 answer
401 views

Php unit test throws assertInternalType is undefined in magento 2.4.5

I upgraded the website from magento 2.3.6-p1 to magento 2.4.5-p1 , got the following error, when running PHP unite test for my custom module. Error: Call to undefined method ABC\Product\Test\Unit\...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
87 views

Cannot display attributes those in Used in Product Listing set to yes

I created an attribute (my_text) as a text field. In stores Attributes Product under Storefront Properties I set Used in Product Listing to Yes. However, the attribute is not displayed on the category ...
Straddi's user avatar
0 votes
2 answers
365 views

PHPUnit\Framework\Exception: Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

When running php unit test case i got below error PHPUnit\Framework\Exception: Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in vendor/symfony/...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
1k views

PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit

While running php unit test, I got the following error. please help Vendor\yyy\Test\Unit\Service\ImporterTest::test_validatePath with data set #1 (true, false) PHPUnit\Framework\TestCase::prophesize() ...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
92 views

Frontend PHP error after 2.4.5 to 2.4.5-p1

Have a site on 2.4.5, upgraded relatively recently. Upgraded to 2.4.5-1 this morning and on the front end it's now saying "Magento supports PHP 7.4.0 or later. Please read Magento System ...
rodolphesalis's user avatar
1 vote
0 answers
135 views

Some Inventory modules are missing when magento upgrade from 2.3.6-p1 to 2.4.5-p1

I upgrade the Magento version from 2.3.6-p1 to 2.4.5-p1 for enterprise edition. When running di:compile throws following error. Error: Interface "Magento\InventoryApi\Model\...
Jaisa's user avatar
  • 2,626
2 votes
0 answers
42 views

Magento2.4.5 throws error while di:compile from Inventory module, SourceValidatorInterface not found

I upgraded the magento version from 2.3.6-p1 to 2.4.5-p1 for enterprise edition. While running di:compile, got the following error. Please guide Error: Interface "Magento\InventoryApi\Model\...
Jaisa's user avatar
  • 2,626
1 vote
2 answers
255 views

Magento upgrade from 2.4.2-p1 to 2.4.5-p1 problems

I upgraded my magento store from 2.4.2-p1 to 2.4.5-p1 and changed php version from 7.4 to 8.1 and I ran "composer update" successfully, then upgrade,compile and deploy static content. Now i ...
I.Tobgy's user avatar
  • 25
1 vote
2 answers
1k views

Magento 2 setup upgrade throwing error . After version upgraded from 2.3.6-p1 to 2.4.5-p1

I got following error while running upgrade command Warning: Undefined array key "inventory_source" in /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php on ...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
352 views

Interceptor not exists issue when running setup:upgrade command in magento 2

When i run setup upgrade command i got the following error Class "Vendor_Name\Subscription\Test\Command\DispatchEventOOSProduct\Interceptor" does not exist I tried to remove the ...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
714 views

Deprecated Functionality: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated s

I upgraded the magento version from 2.3.6-p1 to 2.4.5-p1 enterprise edition. When I run bin/magento setup:upgrade command throws following error. Deprecated Functionality: rawurlencode(): Passing null ...
Jaisa's user avatar
  • 2,626
0 votes
2 answers
1k views

Product showing out of stock but In stock in backend

We have some products in our inventory that are in-stock in the backend but showing out-of-stock in frontend. If I make a product out-stock and then back to in-stock then it works fine( in-stock in ...
Parbat Singh's user avatar
0 votes
1 answer
284 views

How to Create Bulk Product Attributes in magento 2?

I want to add more than 50 Product Attributes in the bulk. Please let me know the best way to do it in Magento 2.
Jitendra Patel's user avatar
1 vote
1 answer
777 views

Exception: Namespace prefix xsi for type on argument is not defined in Merge.php / Extra content at the end of the document

We are using justbetter/magento2-sentry for catching errors in our Magento 2.4.5-1 shop and have lots of reports of such errors: Warning: simplexml_load_string(): namespace error : Namespace prefix ...
Alex's user avatar
  • 13.9k
1 vote
2 answers
2k views

Magento 2.4.5 Graphql get product by category_id or uid

I'm confused. I'm querying categories and tried to add id field but it says it's deprecated and suggested to use uid instead. But to get products we need category id, when I tried to use uid it doesn'...
Juliano Vargas's user avatar
0 votes
1 answer
1k views

Declaration of Laminas\Stdlib\ArrayObject::offsetExists(Laminas\Stdlib\mixed $key) error after updating to 2.4.5-p1

After updating from Magento 2.4.4 running on PHP 7.4 to Magento 2.4.5-p1 running on PHP 8.1 I am getting this error: Declaration of Laminas\Stdlib\ArrayObject::offsetExists(Laminas\Stdlib\mixed $key) ...
user4095519's user avatar
1 vote
1 answer
54 views

composer install not working and throwing error on custom attributes

After git clone , i am running composer install to install magento, but throws following error [Composer\Downloader\TransportException] ...
Jaisa's user avatar
  • 2,626
0 votes
1 answer
83 views

Is there any plugin available to skip currency converter for some specific products?

For some specific products, I want to skip currency converters like:- from USD to EURO I just want to skip the price value to convert it as per rates currency symbol should be same as per display ...
Parbat Singh's user avatar
0 votes
2 answers
253 views

Magento 2 Products Not Showing in Category page after upgrade to 2.4.5-p1

Products Not Showing in Category page after upgrade to 2.4.5-p1 and indexer:reindex cmd gives below error Catalog Search index process error during indexation process: {"error":{"...
Harish kuril's user avatar
0 votes
0 answers
40 views

Store View Pricing with currency convert support

On our website we have multiple store views like- uk, eu, and com Currencies for these store view:- uk => British Pound, eu => Euro, com => USD We are using a Bss Commerce extension for store ...
Parbat Singh's user avatar
1 vote
1 answer
80 views

307 redirect in Magento 2

How could I implement in Magento 2 a http 307 redirect. I would like if possible use Magento methods/framework not phps. Thank you.
Simse's user avatar
  • 35
1 vote
1 answer
728 views

Warning: Undefined variable $localeFormatter in /var/core/www/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml on line 12

I got this issue after upgrading Magento to the Magento ver. 2.4.5-p1.
Divyesh Rana's user avatar
0 votes
1 answer
74 views

No CSS after upgrading to 2.4.5-p1

I upgraded from 2.4.4-p2 to 2.4.5-p1 and now the frontend and backend have no CSS and images. With the upgrade I also changed from PHP 7.4 to 8.1. Any idea what the problem causes?
Michiel's user avatar
  • 105
2 votes
1 answer
507 views

Magento cart price rule not applied free shipping to whole cart in magento2.4.5-p1

How to reproduce this issue: Make a cart price rule: With no coupon code and Free shipping option select to "For shipment with matching items" On frontend Shipping price should be zero
tausif meman's user avatar