Questions tagged [magento2.4.5p1]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 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
12 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
63 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
42 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
35 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
1 answer
218 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
  • 188
2 votes
1 answer
76 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
0 votes
2 answers
111 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
  • 462
0 votes
1 answer
29 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
29 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
0 votes
1 answer
867 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
93 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
158 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
17 views

Magento - Admin/Backend has wrong currency separator

we are using the Magento 2.4.5-p1 version. On frontend we have the correct currency separator for Germany. eg. 149,99 €. But on admin/backend we have on price input field 149.99. Any idea, how to ...
Marcel's user avatar
  • 123
0 votes
0 answers
22 views

I am unable to add a product to cart in magento 2

I have upgraded my website from magento 2.3.6-p1 to 2.4.5-p1 when i am trying to add a simple product throws both of the following errors Please help
jaisa2's user avatar
  • 15
0 votes
0 answers
171 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
57 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
0 votes
0 answers
40 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
0 answers
24 views

Display the Configurable product name in Simple product edit page

How to create a magento module that has the function: display the Configurable product name in its own Simple product edit page. Example: This is the Configurable product https://i.stack.imgur.com/...
Tran Manh's user avatar
0 votes
0 answers
30 views

Magento2 How to print all order into signle pdf page

Hello Everyone I want to print upto 5 orders into single pdf pages.i do not want to multiple pages in pdf only single page for up to 5 orders.So how can i do that?
kinjal mehta's user avatar
0 votes
1 answer
299 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
0 answers
35 views

How to save hide image programmatically in magento 2 admin product edit?

I want to set & save the hidden product image( Hide from Product Page ) programmatically in Magento 2 in admin panel? I tried this way $product = $this->productLoader->create()->load($...
Mujahidh's user avatar
  • 2,701
0 votes
0 answers
20 views

Where the product admin images processed in magento 2?

In Magento 2, if you go to Products->Catalog->Edit->Images and Videos you can add images to the product. The uploader will upload a temp image immediately.When click on save image will save ...
Mujahidh's user avatar
  • 2,701
0 votes
0 answers
15 views

How to add a temporary image uploaded from external url to product image data set and view in image section in magento 2 admin product edit page?

I want to add custom image temporary path to existing product images data and load in the edit product page. I have override the product-gallery.js and gallery.phtml file from module-catalog in my ...
Mujahidh's user avatar
  • 2,701
0 votes
1 answer
68 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
14 views

Media gallery thumbnails stretched when image is horizontal ratio in magento 2.4.5-p2

I have a problem when the images are not square. I have already disabled all extensions and enabled the Luma theme. That doesn't fix the problem. When I upload a non-square image, the preview looks ...
Straddi's user avatar
0 votes
0 answers
15 views

Incorrect sort order custom attribute for category view

I'm currently writing a sort for products in category view by review rating. I've created a custom attribute review_rating and sync the rating for each product into its value And override \Magento\...
Baodoan's user avatar
0 votes
0 answers
43 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,701
0 votes
1 answer
308 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
1 vote
2 answers
1k 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
277 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,556
0 votes
1 answer
65 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
274 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,556
0 votes
1 answer
862 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,556
0 votes
1 answer
72 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
0 votes
0 answers
33 views

Missing required argument $restrictedValues while running customer patch in magento 2.4.5

I upgraded the magento version from magento 2.3.6-p1 to magento 2.4.5-p1. I got the issue while running the patch in Magento 2.4.5-p1 Missing required argument $restrictedValues of Xyz\Customer\Setup\...
Jaisa's user avatar
  • 2,556
0 votes
0 answers
28 views

compare sidebar data-bind is not getting data of comapre product

i want to add product from dropdown to compare list but somehow product data is not showing like picture and name (i have already added pluging for product image), might be data-bind="scope: '...
user111416's user avatar
0 votes
0 answers
95 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,556
0 votes
0 answers
28 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,556
0 votes
2 answers
212 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
  • 15
0 votes
2 answers
720 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,556
0 votes
1 answer
216 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,556
0 votes
1 answer
582 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,556
0 votes
1 answer
791 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
201 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
0 votes
0 answers
137 views

Magento 2.4.5-p1 Recaptcha Checkout Stuck

I have Google reCAPTCHA enabled on my store. I have it on contact form, customer account sign-up, and checkout. v2 and v3 both work on contact form and customer account. Customers can send messages ...
Tom's user avatar
  • 1
0 votes
1 answer
445 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.7k
0 votes
2 answers
1k 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
672 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
40 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,556