-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1 exception(s): Exception #0 (Exception): Warning: Undefined array key 0 in vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler.php on line 515 #38399
Comments
Hi @xtremevision. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @TheRealHunzik. Thank you for your request. I'm working on Magento instance for you. |
Hi @TheRealHunzik, here is your Magento Instance: https://13419714cb153513679fd5669e6724c3.instances-prod.magento-community.engineering |
Hi @xtremevision, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. Steps to reproduce
We are able to see the shipping methods and able to place the order. Kindly recheck the issue in Magento 2.4-develop instance and check if any third party modules causing the issue. Thanks. |
Ok, I will test with Luma theme instead of the 3rd party theme, as well as by switching off custom modules / 3rd party modules. |
Hi |
Good evening,
|
I noticed these messages today in var/log/system.log: [2024-02-02T19:35:17.139662+00:00] main.WARNING: localhost|2475: Did not write session for ID b3f7mpdhrg0dmgkg8tlnb2uq8r: another process took the lock. /themelayoutpro/ajax/cmsblock/?block_identifier=unlimited-furniture-newsletter-popup [] [] Found this article: https://magento.stackexchange.com/questions/296730/redis-session-error-successfully-broke-lock-for-id-sess-ebfc12b22fa8c8e1fb81dca I updated the values as per the accepted answer, but to be 100% safe I also created a dedicated redis instance for this site on port 6378. So far, the checkout error has gone away, and the write session messages as well. Could it be that I have too many sites accessing the same redis instance, albeit with different redis databases? Could it be another site is accessing the same database as this one effectively corrupting data? |
The bug should only trigger when the setting According to the comments on colinmollenhour/php-redis-session-abstract@47a1df3, this seems to be a bug that existed in versions 1.5.3 and 1.5.4 of the |
@hostep Thanks for your contribution and collaboration here. Hi @xtremevision, Thanks for your update. Kindly refer this comment #38399 (comment) and please let us know if you are still facing any issue. Thanks. |
I updated colinmollenhour/php-redis-session-abstract to 1.5.5 and it seems to have fixed the issue, but I'll do a bit more testing to make sure. Thanks. |
Hi @xtremevision, Thanks for your update. As per this comment #38399 (comment) We are Closing this issue Please feel free to reopen the issue if you are still facing any issue. Thanks. |
Preconditions and environment
PHP 8.1.27 (cli) (built: Dec 19 2023 20:35:55) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.27, Copyright (c) Zend Technologies
with Zend OPcache v8.1.27, Copyright (c), by Zend Technologies
with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans
Steps to reproduce
Expected result
No error message
Actual result
1 exception(s):
Exception #0 (Exception): Warning: Undefined array key 0 in /home/michael/www/xxxxxxxxxx/xxxxxxxxxx/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler.php on line 515
Exception #0 (Exception): Warning: Undefined array key 0 in /home/michael/www/xxxxxxxxx/xxxxxxxxx/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler.php on line 515
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: