Giter Site home page Giter Site logo

Comments (16)

viniciusgborges avatar viniciusgborges commented on June 16, 2024 31

A possible workaround is to fix the version to 1.5.5
composer require colinmollenhour/php-redis-session-abstract:1.5.5

from magento2.

hostep avatar hostep commented on June 16, 2024 10

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.

hostep avatar hostep commented on June 16, 2024 1

@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.

colinmollenhour avatar colinmollenhour commented on June 16, 2024 1

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.

m2-assistant avatar m2-assistant commented on June 16, 2024

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:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 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.

contardi avatar contardi commented on June 16, 2024

There's also an issue opened to revert the breaking changes on php-redis-session package.

colinmollenhour/php-redis-session-abstract#58

from magento2.

m2-assistant avatar m2-assistant commented on June 16, 2024

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 branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced 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.

perfpcs avatar perfpcs commented on June 16, 2024

@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.

engcom-November avatar engcom-November commented on June 16, 2024

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.

github-jira-sync-bot avatar github-jira-sync-bot commented on June 16, 2024

✅ Jira issue https://jira.corp.adobe.com/browse/AC-11954 is successfully created for this GitHub issue.

from magento2.

m2-assistant avatar m2-assistant commented on June 16, 2024

✅ 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.

laasso avatar laasso commented on June 16, 2024

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

image

from magento2.

andrea-glam avatar andrea-glam commented on June 16, 2024

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.

TuVanDev avatar TuVanDev commented on June 16, 2024

@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.

PaulWatt avatar PaulWatt commented on June 16, 2024

same issue here on 2.4.6-p5.
Could we have a patch please?

from magento2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.