Comments (16)
A possible workaround is to fix the version to 1.5.5
composer require colinmollenhour/php-redis-session-abstract:1.5.5
from magento2.
Might be better to define a conflict with this specific version, so you don't pin the version 1.5.5 in your composer.json
file and forget about removing it again in the future.
Something like this is probably better:
diff --git a/composer.json b/composer.json
index 8621702..6d43808 100644
--- a/composer.json
+++ b/composer.json
@@ -152,6 +152,7 @@
"magento/module-wishlist-analytics": "*"
},
"conflict": {
+ "colinmollenhour/php-redis-session-abstract": "1.6.0",
"gene/bluefoot": "*"
},
"autoload-dev": {
After which you'll need to run composer update colinmollenhour/php-redis-session-abstract
from magento2.
@PaulWatt, just downgrade colinmollenhour/php-redis-session-abstract
to version 1.5.5 and wait until @colinmollenhour has had some time to look into colinmollenhour/php-redis-session-abstract#58
from magento2.
I released the latest master as v2.0.0 and the previous v1.5.5 as v1.7 so I believe that should effectively "roll back" the v1.6.0 release. My apologies for this debacle, I should have read more carefully how the "^" operator works for Composer.
from magento2.
Hi @jorgb90. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release- For more details, review the Magento Contributor Assistant documentation.
- Add a comment to assign the issue:
@magento I am working on this
- To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
from magento2.
There's also an issue opened to revert the breaking changes on php-redis-session package.
colinmollenhour/php-redis-session-abstract#58
from magento2.
Hi @engcom-November. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇
- 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
- 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
- 3. Add
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to. - 4. Verify that the issue is reproducible on
2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! - 5. Add label
Issue: Confirmed
once verification is complete. - 6. Make sure that automatic system confirms that report has been added to the backlog.
from magento2.
@viniciusgborges thank you! I was only on 2.4.6-p2 and doing a composer update when Magento broke with this same Credis error. This fix worked for now until someone on Magento team can fix this properly. Not sure how this could possibly have been released? :/
from magento2.
Hello @jorgb90,
Thank you for the report and collaboration!
Verified this on 2.4.7 instance.
With colinmollenhour/php-redis-session-abstract 1.6.0, while running static decompile the below error is being thrown:
Compilation was started.
Application code generator... 3/9 [=========>------------------] 33% 4 secs 252.0 MiBPHP Fatal error: Class Magento\Framework\Session\SaveHandler\Redis\Config contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Cm\RedisSession\Handler\ConfigInterface::getRetries) in /opt/homebrew/var/www/magento247ce/vendor/magento/framework/Session/SaveHandler/Redis/Config.php on line 16
Fatal error: Class Magento\Framework\Session\SaveHandler\Redis\Config contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Cm\RedisSession\Handler\ConfigInterface::getRetries) in /opt/homebrew/var/www/magento247ce/vendor/magento/framework/Session/SaveHandler/Redis/Config.php on line 16
Hence confirming this issue.
from magento2.
✅ Jira issue https://jira.corp.adobe.com/browse/AC-11954 is successfully created for this GitHub issue.
from magento2.
✅ Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
from magento2.
A possible workaround is to fix the version to 1.5.5
composer require colinmollenhour/php-redis-session-abstract:1.5.5
For me with this it's working:
composer require colinmollenhour/php-redis-session-abstract:1.5.5
from magento2.
same issue here, could be a possibile fix apply a patch or a complete rewrite to:
vendor/magento/framework/Session/SaveHandler/Redis/Config.php
and implement an empty method getRetries()?
Thank you,
Andrea.
from magento2.
@andrea-glam I have submitted a pull request to address this issue and provided composer patches for a more immediate solution. You can check it out at #38729
You can also utilize the conflict
configuration, as @hostep suggested, to prevent the installation of version 1.6.0 in your project.
from magento2.
same issue here on 2.4.6-p5.
Could we have a patch please?
from magento2.
Related Issues (20)
- Widget not inserting or saving when the word 'type' is used anywhere in the text after a quotation mark HOT 11
- Products not Showing in Category Pages: 'We can't find products matching the selection' Error HOT 9
- Javascript files for checkout cannot be accessed, wrong src HOT 12
- Sample Data is installed with errors. See log file for details HOT 3
- Vault/Stored Payment Methods not selected value when changing the uncheck/check my billing address and shipping address are the same HOT 14
- getTracking() not found HOT 4
- [Issue] required_options not updating correctly HOT 4
- Require Emails Confirmation behavior issue HOT 3
- UI Listing - Bookmark issue when no filters HOT 7
- Magento 2 api add order comment and change status. HOT 4
- Magento 2 Luma top menu loads very slow HOT 4
- Cannot edit product images from Magento cron HOT 3
- can not update custom customer attribute value on customer edit page in admin HOT 6
- Error "Please correct the target currency" when switching store with different currency than default one on GraphQl HOT 3
- [Issue] Fix dynamic rows dnd array serializer in design config HOT 4
- Error Cannot return null for non-nullable field "SelectedShippingMethod.carrier_code" HOT 3
- Imposible to reorder configurable products with one checkbox selected custom option HOT 8
- Able to management email content between staging and production HOT 1
- GraphQL OPTIONS request fails with error 500. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2.