Skip to main content

Questions tagged [patches]

Questions about the official Magento Security patches (SUPEE-xxxx)

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

How to Identify and Apply Magento Patches Properly

I'm trying to properly identify and apply the necessary Magento patches for my setup based on the security bulletin here: APSB23-17. However, I'm struggling with a few things: Patch Identification: ...
M2 Dev's user avatar
  • 548
0 votes
1 answer
426 views

How to install Install APSB24-18 Patch in Magento 2?

My hosting provider send me mail regarding patch installation on my store, but I want to know how I can install this patch on my store. Adobe does not provide any kind of documentation regarding this: ...
Mark Philips's user avatar
0 votes
1 answer
92 views

Magento 2.4.6 cweagans module not applying patches

I have installed "cweagans" module and added patch configurations to composer.json file but when I run "composer install" it's not applying the patch and it's not giving any error. ...
GCS's user avatar
  • 11
1 vote
1 answer
103 views

Update index value using patch in magento 2.4

Currenty, order_id is set as unique and i want to set as the index. Please help me on this. <?php declare(strict_types=1); namespace Abc\Xyz\Setup\Patch; use Magento\Framework\DB\Ddl\Table; use ...
Kushal Dani's user avatar
  • 2,134
0 votes
2 answers
133 views

Applying Patches

In applying patches, If the provided zip file for the patch contains enterprise and open-source patches, should you apply both? or should you just apply the one same with your repo?
Ricky Aldea's user avatar
0 votes
1 answer
103 views

ACSD-51892: Performance issue where config files load multiple times

https://experienceleague.adobe.com/docs/commerce-knowledge-base/kb/support-tools/patches/v1-1-33/acsd-51892-performance-issue-where-config-files-load-multiple-times.html?lang=en I tried to reproduce ...
Nghia Hoang Trong's user avatar
0 votes
1 answer
463 views

Page builder editing not saving

I am using the Magento version 2.4.3 P1, In the latest chrome version the changes are not applied when we are tying to save in the page builder. I applied this patch ACSD-48857_2.2.3-p1.patch but not ...
Rana Zain's user avatar
  • 676
3 votes
2 answers
1k views

How to install Security Update patch APSB23-35

is there any way to download the patch APSB23-35 and manually apply it ? I have several older Magento2 installations, and update them is a time consuming task - so i was wondering if there is a "...
Armindo Pereira's user avatar
0 votes
1 answer
2k views

Could not apply patch! Skipping. The error was: Cannot apply patch patches/composer/filename.patch

I have downloaded magento2 site from server, and now I am installing it in my localhost. During composer install command I am facing this error Could not apply patch! Skipping. The error was: Cannot ...
Sanaullah Ahmad's user avatar
0 votes
1 answer
130 views

Magento 2.4: Unable to apply setup/src/Magento/Setup patch

I'm trying to apply a patch but it's not working: composer.json "patches": { "magento/setup": { "Setup Patch Take4": "patches/composer/setup_patch.patch&...
Partab Saifuddin Zakir's user avatar
0 votes
1 answer
67 views

Composer Patch for Third-Party module fixes

I'm running into a scenario where I need to create a new model to fix some issues with a third-party package and modify a few files. I have created a composer patch to modify the files but not sure, ...
user8305827's user avatar
0 votes
0 answers
701 views

Magento 2. Patch, How to revert the schema when we Uninstall the module?

I have created a patch in the "Vendor/Module/Setup/Patch/Schema" path We have to use two things : 1st is to update the existing table schema from apply function And 2nd schema once the ...
Prince Kumar's user avatar
0 votes
1 answer
18 views

How to create morethan oneproduct attribute and assign it to specific attribute set-Magento2

I have an attributeset named dealz and attribute set group with name DealzInformation.Also I have some customproductattributes like dealdate,dealqty,dealprize...etc. Then how to show this group with ...
Alshihab's user avatar
  • 161
0 votes
1 answer
439 views

Remove attribute from the database

When the patch is uninstalled then the attribute is also removed from the database in the Magento 2 is it possible?
Rana Zain's user avatar
  • 676
1 vote
1 answer
80 views

Composer Patch vs. Custom Module for Vendor Directory Modifications

Is there a general consensus on when you should create a custom module to override core vs when you should use a composer patch? At present, I need to add @ to a line of code and feel that a module is ...
A. Andersen's user avatar
0 votes
1 answer
297 views

How to programatically delete an email template from admin via patch?

I have patch for email template and I want to delete already existing email template via patch. I can also update the already existing one. I understand the process in theory to update that is, check ...
LosMos's user avatar
  • 121
2 votes
2 answers
189 views

Update to 2.4.5-p1 deleted Php files in Pub Folder

I recently updated a local Shop to 2.4.5-p1. The update seems to have deleted all contents from my [Mageroot]/pub folder except for sub-folders. Notably this affected index.php. Is there any way to ...
Hurrpadurr's user avatar
2 votes
0 answers
207 views

Magento 2.4: Error on running composer require magento/quality-patches

I am getting this error as soon as I enter the username (access key from the marketplace): Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Console\Helper\exec() in phar:///...
mechanic's user avatar
  • 440
2 votes
2 answers
1k views

Magento2: How to create a patch for custom module composer.json?

I want to know that can we create patch for some changes in composer.json of custom module. I am talking about custom module composer not magento composer. Its just like changes but instead of any php ...
Ralph Rhodes's user avatar
0 votes
1 answer
1k views

What is the difference between Patch data and Patch schema in magento2?

I created an attribute in patch data class, and I created a table cloumn in the patch schema class. I don't know the difference between the two.
Allen's user avatar
  • 19
0 votes
1 answer
138 views

How to get vendor_module/view/frontend/web/images path within Setup/Patch script?

I need to get the url of the image located in the module. I need to run a Patch script because I am updating a cms block with an additional image. The image path I am getting is localhost/pub/static/...
Justin Collins's user avatar
0 votes
2 answers
2k views

How to revert the applied patches in magento 2

In my root folder, there is a folder named vendor_patches. Inside that, there are some patch files for the Paypal module. But the requirement is like after applying those patches, I need to revert ...
mage's user avatar
  • 25
0 votes
1 answer
1k views

How I can create product programmatically using patch?

I must create SKU 2 and SKU 1 programmatically using a patch. How I can do that?
tomk1v's user avatar
  • 13
0 votes
1 answer
340 views

Error when apply custom patch using command

I have to remove some logic of magento core file so I have created the custom patch file orderfilter.patch using the below command. diff -u vendor/magento/module-sales/Model/ResourceModel/Order/Grid/...
m2dev's user avatar
  • 83
1 vote
1 answer
298 views

Do I need to apply critical security patches again after Magento version upgrade?

Magento got couple of critical security patches few days ago and I installed those patches. I now need to upgrade to Magento 2.4.3-p1 and I was wondering do I need to apply the patches again or are ...
Webninja's user avatar
  • 1,613
1 vote
2 answers
396 views

Security update for Magento Open Source APSB22-12 Which version?

I need to run the new security patches on Magento Open Source 2.4.3 - 2.4.3-p1 but Adobe don't actually elaborate on how to choose the correct version. My guess would be the COMPOSER version, but I ...
SilkSpin's user avatar
  • 302
0 votes
1 answer
44 views

Do Security updates require a compile?

I would like to apply the security hotfix for the recently found vulnerabilites: https://support.magento.com/hc/en-us/articles/4426353041293-Security-updates-available-for-Adobe-Commerce-APSB22-12- Is ...
Hurrpadurr's user avatar
0 votes
1 answer
586 views

Magento 2.4, How to autofill value of Page Builder/textarea instead of Page Builder(form details) initialized as blank

In admin Catalog->Category->content I would like this Form detail:Page Builder to have Layout->Row and Element->HTML Code="Default Value" at setup. <?php namespace Justins\...
Justin Collins's user avatar
0 votes
1 answer
159 views

Magento 2 Custom created patch getting error

I tried to create a custom patch to fix the Magento core bug, but time to install the patch facing the below issue. patch: **** malformed patch at line 7: - $value[0]['name'] = $value[0]['...
Yogesh's user avatar
  • 1,523
0 votes
1 answer
987 views

Magento 2: Upgrade magento 2.4.3 to 2.4.3-p1 issue

I have tried to upgrade Magento CE from 2.4.3 to 2.4.3-p1 using the following commands: composer require magento/product-community-edition=2.4.3-p1 --no-update composer update but I am getting this ...
mechanic's user avatar
  • 440
1 vote
2 answers
371 views

Magento2 Apply Patches

I have some customers that use some "older" Magento 2 versions, like for example 2.3.4. I would like to keep the store updated with the latest security patches but without doing a full ...
Armindo Pereira's user avatar
2 votes
3 answers
977 views

Where to look to get Magento Quality Patches as .patch or .txt file?

I am having issue of cron job resulting in error due to process a large number of items. I've checked logs but it fails without any log in cron_schedule table. After searching for some time I found a ...
Rahul Barot's user avatar
  • 1,122
0 votes
0 answers
901 views

Magento 2: Installing patch with Composer - package "not locked"

An established Magento extension company sent me a patch to install as there was an issue with our local installation. I tried installing it with Composer but it didn’t seem to change the code in the ...
rodolphesalis's user avatar
0 votes
1 answer
536 views

How to Solve Sorry something went wrong Please try again later on Magento ver. 2.4.2-p1 Royal Mail Integration

Sorry something went wrong Please try again later on Magento ver. 2.4.2-p1 Royal Mail Integration. As, i have checked a patch is aval. here https://github.com/magento/magento2/commit/...
Prits's user avatar
  • 623
0 votes
0 answers
739 views

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
0 votes
1 answer
25 views

how to concatenate a stirng text with a value of config in table core_config_data

hello everyone i want to concatenate a string with a value in the table core_config_data i have the path and I don't know how to do it by patches PS : i am usign magento 2.3 if anyone can help me i ...
coding ev's user avatar
0 votes
1 answer
711 views

Technical review: Unable to apply patch InitializeWebsiteDefaultSock

I have written a simple extension for Magento 2 which I want to publish at the Marketplace. But I am stuck for months to get it through the technical review process. While the CodeSniffer passes, the ...
Miroslav Petroff's user avatar
1 vote
1 answer
2k views

Warning: call_user_func() expects parameter 1 to be a valid callback

it is the first time that I have asked a question in the magento community since I started working in a company that uses this framework for ecommerce a month ago. It turns out that I am inside a ...
Tom aguilera's user avatar
3 votes
2 answers
819 views

Upgrade existing Magento 1.9 using Open mage or get patches from it

We want update our Magento 1.9 site with latest patches and came across Open Mage. We are not sure how to get patch files from it as it seems to be a complete Magento 1 installation repository. Below ...
Kaushik Kumar Roy's user avatar
2 votes
2 answers
6k views

Magento 2: What is the proper way to apply patch inside m2-hotfixes directory?

I searched on google and found a patch. I created the patch dilw and placed it into m2-hotfixes directory. Can Anyone help on it?. Which Command I should use to apply the patch file inside that ...
Paul Fan's user avatar
  • 658
0 votes
2 answers
830 views

Add customer groups in Magento 2 programically

Change customer group based on how many orders they've done. Silver 1-4 orders Gold 5-6 orders Emerald >10 orders You need to add those groups to Magento(programmatically) and ensure that every ...
malin's user avatar
  • 3
2 votes
1 answer
1k views

Magento 2 quality patches MDVA-28656 is not available in Magento 2.4.1

I'm using Magento 2.4.1, when I order a virtual product then create a pending invoice it will make the order status become closed instead of processing. To prevent this error I must apply Magento ...
Padawan's user avatar
  • 135
0 votes
1 answer
50 views

Patching 2.3.6 via composer

For patching 2.3.6 via composer the docs state If a patch affects multiple modules, you must create multiple patch files targeting multiple modules. Therefore is there a correct set of patch files ...
Goose84's user avatar
  • 2,631
0 votes
1 answer
740 views

Magento 2.3 - Patch update stuck

Almost 1 hour finished, still not complete.
zus's user avatar
  • 173
0 votes
1 answer
2k views

Apply customize patch to magento/framework

Have installed "cweagans/composer-patches": "^1.7", and "extra": { "magento-force": "override", "composer-exit-on-patch-failure&...
Kai's user avatar
  • 146
1 vote
1 answer
94 views

How to import products using csv file

I want to import all products from csv to my magento 1.9.x store so can anyone have idea so please share with me. Thanks in Advance.
Deep Shah's user avatar
  • 577
0 votes
1 answer
1k views

How to check Magento Cloud patches available?

My Magento 2.3 Cloud is not updated, and I see some issues that when I reporting to Magento they send me a patch already released. Is there a way to see the list of patches available?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
1k views

unable to remove patch from composer.json

I have to update extension https://i.sstatic.net/uZ25K.png but it has an error, Can I remove it manually? I think it cant be good practice. how can I safe remove it? dockergento composer remove iwd/...
Giga Todadze's user avatar
1 vote
1 answer
2k views

Upgrade Magento2.3.5-p1 to Magento 2.3.5-p2

How can update Magento2.3.5-p1 with the security patch to Magento2.3.5-p2? I can not find the p2 patch on the Magento website; https://magento.com/tech-resources/download
JGeer's user avatar
  • 1,422
4 votes
1 answer
85 views

Where are all the Magento 1 patches since new Magento.com website?

I see https://magento.com/download has a new design and content. This used to be the place to find Magento 1 Patches. Where are they now? Everything from Magento 1 seems to be hidden (removed?). Does ...
Akif's user avatar
  • 1,551

1
2 3 4 5
13