Questions tagged [patches]

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

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

Magento 2 After Version upgrade patch_list table does not exist

I've upgraded the Magento-EE from 2.4.3-p3 to 2.4.5, after the successful upgraded the application working fine. But while doing setup upgrade it's showing the following error . Base table or view not ...
  • 1,608
1 vote
0 answers
21 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:///...
  • 161
0 votes
0 answers
20 views

How to create a data patch for an email template in magento2?

I have created a custom email template in my magneto 2 project. My custom email template path is app/design/frontend/BitByte/Capital/Magent_Sales/email/invoice_new.html It works fine. Now I need to ...
  • 7
2 votes
2 answers
33 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 ...
0 votes
0 answers
9 views

Add patch to the composer.json of a module

I want to update the req php version of a custom module composer.json and for that i've made a patch but problem is module requires php 7.3 and my magento version reqs php 7.4. I can change manually ...
0 votes
1 answer
34 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.
  • 5
0 votes
1 answer
26 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/...
0 votes
1 answer
173 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 ...
  • 15
0 votes
0 answers
23 views

programmatically create attribute set based on another one

I need to programmatically create a new attribute set, via setup patch, based on another one, I do not have to use ID because it's not fixed, only have attribute set namethank you
0 votes
2 answers
248 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?
  • 3
0 votes
1 answer
34 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/...
  • 53
1 vote
1 answer
176 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 ...
  • 1,501
1 vote
2 answers
210 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 ...
  • 172
0 votes
1 answer
39 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 ...
0 votes
1 answer
228 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\...
0 votes
1 answer
57 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]['...
  • 1,452
0 votes
1 answer
814 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 ...
  • 161
1 vote
2 answers
120 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 ...
1 vote
2 answers
266 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 ...
0 votes
0 answers
214 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 ...
0 votes
1 answer
263 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/...
  • 576
0 votes
0 answers
384 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 ...
0 votes
1 answer
24 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 ...
0 votes
1 answer
348 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 ...
1 vote
1 answer
1k 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 ...
3 votes
2 answers
420 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 ...
1 vote
2 answers
2k 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 ...
  • 562
0 votes
2 answers
334 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 ...
  • 3
2 votes
1 answer
719 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 ...
  • 135
0 votes
1 answer
37 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 ...
  • 2,469
0 votes
1 answer
253 views

Magento 2.3 - Patch update stuck

Almost 1 hour finished, still not complete.
  • 105
0 votes
1 answer
718 views

Apply customize patch to magento/framework

Have installed "cweagans/composer-patches": "^1.7", and "extra": { "magento-force": "override", "composer-exit-on-patch-failure&...
  • 126
1 vote
1 answer
48 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.
  • 507
0 votes
1 answer
482 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?
0 votes
1 answer
683 views

unable to remove patch from composer.json

I have to update extension https://i.imgur.com/SgHq8YK.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/...
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
  • 1,504
4 votes
1 answer
77 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 ...
  • 1,308
3 votes
2 answers
643 views

Magento 1 end of life - where can I download Magento 1.5.1 patch to run PHP 5.4?

Magento has just removed all support to 1.* as it reached end of life. I need to create an tests environment like my client that uses 1.5.1. I understand that it is way too old but it is his choice to ...
5 votes
2 answers
710 views

SUPEE-11346 - potential problems?

Magento released last patch for M1: https://magento.com/tech-resources/download#download2374 Haven't looked into the patch yet, it looks like the community is unaware there is a new patch out for M1. ...
8 votes
10 answers
5k views

Security Patch SUPEE-11314 - Possible problems?

Magento have released new Magento 1 versions 1.14.4.5 1.9.4.5 The patch number is SUPEE-11314 and is available at https://magento.com/tech-resources/download A summary (covering both M1 and M2 so ...
  • 4,412
0 votes
0 answers
647 views

Creating patch in Magento 2 issue

I am trying to make a patch for a private method from the core of the magento/module-configurable-product module. I followed the instructions from here: https://magento.stackexchange.com/a/256580/6204 ...
  • 3,625
1 vote
1 answer
168 views

What's security-only patch release and how to apply it?

I noticed we have security-only patch releases, what's it and how to use it? An example of these security-only patch releases, instead of having Magento 2.3.2 my client has installed Magento 2.3.3-p1....
0 votes
2 answers
26 views

Magento 2 site upgrade pending or patches

I have a magento2 website on which i need to check if there is any upgrade pending or patches , how would i know about it , or how can i check it ? It has also fishpig wp module to connect wp so i to ...
1 vote
1 answer
136 views

Magento 2 Outdated JS Libraries - Failed. Outdated AngularJS library found Issue

We are using magento ver 2.2.4 and after run magento security scan tool, In generated report we found following error:- Outdated JS Libraries - Failed.Outdated AngularJS library found, response ...
  • 781
1 vote
0 answers
198 views

SUPEE 11219 Error "Reversed (or previously applied) patch detected!"

I've tried installing this patch on my Magento (1.9.4.3), I'm not sure what to do, here is the full message: Checking if patch can be applied/reverted successfully... ERROR: Patch can't be applied/...
2 votes
2 answers
244 views

Magento 2.3.4 upgarde returns some security updates and features notification

I'm working on Magento2.3.3. So I have planned to upgrade the Magento version from 2.3.3 to 2.3.4. After the successful upgrade, the magento version was changed to 2.3.4. But I got some notification ...
  • 127
0 votes
1 answer
1k views

How to update existing CMS block content using data patches?

I have updated content for the existing cms page by using data patches in Magento 2.3.3, but the same approach not working for CMS block. <?php namespace Test\CmsExport\Setup\Patch\Data; use ...
1 vote
0 answers
229 views

Composer update error

I'm using Magento2.3 and when I am running composer update command, I got following error message: Could not apply patch! Skipping. The error was: Cannot apply patch patches/PRODSECBUG-2198-2.2-...
  • 79
0 votes
1 answer
63 views

How to generate a pre-patched version of Magento 1 SUPEE patch?

Some people like Meetanshi has pre-patched version of Magento 1 SUPEEs. How they generate those files? This is very useful for people (Like me) who are not able to apply patches via SSH from .sh ...
0 votes
1 answer
828 views

How to apply github commit patches in Magento 2 using composer?

I've created a new module with a composer.json file: "extra": { "composer-exit-on-patch-failure": true, "patches": { "magento/framework": { "TransportBuilder ...
  • 3,625

1
2 3 4 5
13