Questions tagged [patches]
Questions about the official Magento Security patches (SUPEE-xxxx)
626
questions
0
votes
0
answers
16
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
44
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?
0
votes
1
answer
24
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/...
1
vote
1
answer
132
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
vote
2
answers
126
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 ...
0
votes
1
answer
36
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
59
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
37
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]['...
0
votes
1
answer
657
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 ...
1
vote
2
answers
86
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 ...
0
votes
2
answers
177
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
152
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
178
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/...
0
votes
0
answers
311
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
259
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
780
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 ...
2
votes
2
answers
353
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 ...
0
votes
2
answers
969
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 ...
0
votes
2
answers
221
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 ...
2
votes
1
answer
526
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 ...
0
votes
1
answer
32
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 ...
0
votes
1
answer
192
views
Magento 2.3 - Patch update stuck
Almost 1 hour finished, still not complete.
0
votes
1
answer
403
views
Apply customize patch to magento/framework
Have installed "cweagans/composer-patches": "^1.7",
and
"extra": {
"magento-force": "override",
"composer-exit-on-patch-failure&...
1
vote
1
answer
38
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.
0
votes
1
answer
357
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
545
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
4
votes
1
answer
73
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 ...
3
votes
2
answers
629
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
704
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 ...
0
votes
0
answers
380
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 ...
1
vote
1
answer
159
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
25
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
127
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 ...
1
vote
0
answers
179
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
229
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 ...
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
206
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-...
0
votes
1
answer
61
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
780
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 ...
-1
votes
2
answers
36
views
Need magento 1.9.3.3 to apply patch
I want to know list of patches for my website which is in 1.9.3.3 version of magento please suggest.
1
vote
2
answers
6k
views
Could not apply patch! Skipping. The error was: Cannot apply patch XXXXXXXXXX.diff
I'm installing a code base which is created by others, then i remove the old when i run "composer install" and encounter show many this kind of error message.
Anyone know what is the problem?
0
votes
2
answers
108
views
SUPEE Patch 11219 not available for 1.7.0.2 Magento1
After so many days,
Magento released patches for less than 1.9, But I could not see the patch for version 1.7.0.2
Does anyone any information when it will be available or will it be available?
2
votes
0
answers
153
views
How do i apply path APPSEC-1679 for Magento 2.3.1 via composer
Could you please provide the clear steps to apply the patch via composer for Magento 2.3.1 version.
APPSEC-1679 - API ACL - Failed.
API ACL Patch not detected
0
votes
2
answers
1k
views
EmailMessageInterface backward compatibility issue patch for Magento 2.3.3
Has anyone had success with applying the following patch
https://magento.com/tech-resources/download#download2333
I think process is
composer require cweagans/composer-patches
Path to patch: "...
0
votes
1
answer
232
views
SUPEE 11219 not available for 1.9.2.x
I have noticed that the latest SUPEE 11219 is not available for Magento 1.9.2.x via Magento you can only download for 1.9.3 and up, even thought the affected versions are Magento Open Source prior to ...
0
votes
2
answers
414
views
Can't install SUPEE-11155 or SUPEE-11219
This is what I get if I try to install SUPEE-11155 with
$ ./PATCH_SUPEE-11155_CE_1.9.4.0_v4-2019-08-01-04-08-31.sh`
Output:
Checking if patch can be applied/reverted successfully...
ERROR: Patch ...
0
votes
0
answers
78
views
Security patch 11219 risk error for Magento 1.9.2.4
Security patch 11219 risk Error for Magento 1.9.2.4
I'm using Magento 1.9.2.4 version
in the Security patch error(magereport.com)
But in the Magento Security patch not have this version (https://...