{"data":{"id":"magento2-38364","source":"github-pr","sourceRef":"magento/magento2#38364","title":"Exception: Warning: Trying to access array offset in... -> Calendar.php since upgrade to ICU 74.1 (PHP Intl)","pr":{"number":38364,"url":"https://github.com/magento/magento2/pull/38364","author":"hostep","mergedAt":"2024-05-16T19:44:51Z","mergeCommit":"18ffc1d686d6cae86a22d9916683b0922dedef8f","headCommit":"76459721a92e428df7182f83bdddacc87917e471","baseRef":"2.4-develop","diffSha256":"0daaa2c83c48f8ede1780f0d4555b8ec68b2370b6d1220108b2dd9ec6fc97e12"},"issues":[{"number":38214,"url":"https://github.com/magento/magento2/issues/38214","title":"Exception: Warning: Trying to access array offset in... -> Calendar.php since upgrade to ICU 74.1 (PHP Intl)","labels":["Area: Framework","Issue: Confirmed","Priority: P1","Progress: done","Reported on 2.4.6-p3","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":"2.4.6-p3","codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/framework"],"files":[{"path":"lib/internal/Magento/Framework/View/Element/Html/Calendar.php","change":"modified","package":"magento/framework"}],"stripped":{"tests":["lib/internal/Magento/Framework/View/Test/Unit/Element/Html/CalendarTest.php"],"docs":[],"outsideCode":[]},"linesChanged":24,"mergeBatched":false,"excluded":null,"sections":{"description":"Errors on each store visit in exception.log:","stepsToReproduce":"Install the above versions and visit either the backend or the frontend.","expectedResult":"No errors in var/log/exception.log","actualResult":"Errors on each store visit in exception.log:\n\n```\nmain.CRITICAL: Exception: Warning: Trying to access array offset on value of type null in /vendor/magento/framework/View/Element/Html/Calendar.php on line 114 in /vendor/magento/framework/App/ErrorHandler.php:62\n```","source":"issue"},"signatures":["Errors on each store visit in exception.log:","main.CRITICAL: Exception: Warning: Trying to access array offset on value of type null in"],"labels":{"area":["Framework"],"component":[],"priority":"P1","severity":null,"reportedOn":["2.4.6-p3"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"2a37a821916a37ec5bcd6fdfa5f6a2daf3f34ff6fa6b07b2f5a170967c9da489","isBugfix":0.9707,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9238,"feature":0.01,"refactor":0.0168,"tests_only":0.0136,"docs_only":0.0047,"dependency":0.0106,"cleanup":0.0205},"confidence":0.8303},"scope":{"score":0.9912,"probabilities":{"0":0.2087,"1":0.5913,"2":0.2},"confidence":0.1498},"risk":{"score":0.3636,"probabilities":{"0":0.6598,"1":0.3168,"2":0.0234},"confidence":0.3043},"area":{"choice":"framework","probabilities":{"catalog":0.0082,"checkout":0.0066,"customer":0.0051,"admin":0.019,"graphql_api":0.0044,"framework":0.7619,"frontend":0.1838,"other":0.011},"confidence":0.56},"securityRelevant":0.0095,"reportedVersion":{"choice":"2.4.6-p3","probabilities":{"2.4.0":0.0022,"2.4.0-p1":0.0025,"2.4.1":0.0023,"2.4.1-p1":0.0026,"2.4.2":0.0024,"2.4.2-p1":0.0027,"2.4.2-p2":0.003,"2.4.3":0.0026,"2.4.3-p1":0.0029,"2.4.3-p2":0.0036,"2.4.3-p3":0.0033,"2.4.4":0.0025,"2.4.4-p1":0.0028,"2.4.4-p10":0.0035,"2.4.4-p11":0.0038,"2.4.4-p12":0.0042,"2.4.4-p13":0.0042,"2.4.4-p14":0.0041,"2.4.4-p15":0.004,"2.4.4-p16":0.0034,"2.4.4-p17":0.0036,"2.4.4-p18":0.003,"2.4.4-p2":0.0025,"2.4.4-p3":0.0025,"2.4.4-p4":0.0025,"2.4.4-p5":0.0038,"2.4.4-p6":0.0033,"2.4.4-p7":0.0031,"2.4.4-p8":0.0036,"2.4.4-p9":0.0029,"2.4.5":0.0029,"2.4.5-p1":0.0033,"2.4.5-p10":0.0032,"2.4.5-p11":0.0037,"2.4.5-p12":0.0046,"2.4.5-p13":0.0039,"2.4.5-p14":0.0055,"2.4.5-p15":0.0038,"2.4.5-p16":0.0044,"2.4.5-p17":0.0034,"2.4.5-p2":0.0032,"2.4.5-p3":0.0034,"2.4.5-p4":0.0035,"2.4.5-p5":0.0038,"2.4.5-p6":0.0048,"2.4.5-p7":0.0041,"2.4.5-p8":0.0041,"2.4.5-p9":0.0029,"2.4.6":0.0364,"2.4.6-p1":0.0069,"2.4.6-p10":0.0036,"2.4.6-p11":0.0042,"2.4.6-p12":0.0034,"2.4.6-p13":0.0088,"2.4.6-p14":0.0039,"2.4.6-p15":0.0046,"2.4.6-p2":0.0113,"2.4.6-p3":0.6045,"2.4.6-p4":0.0187,"2.4.6-p5":0.0135,"2.4.6-p6":0.0158,"2.4.6-p7":0.0089,"2.4.6-p8":0.0051,"2.4.6-p9":0.0049,"2.4.7":0.0051,"2.4.7-p1":0.0047,"2.4.7-p10":0.0041,"2.4.7-p2":0.0039,"2.4.7-p3":0.0053,"2.4.7-p4":0.0051,"2.4.7-p5":0.0053,"2.4.7-p6":0.0048,"2.4.7-p7":0.0039,"2.4.7-p8":0.0044,"2.4.7-p9":0.0031,"2.4.8":0.0041,"2.4.8-p1":0.004,"2.4.8-p2":0.0044,"2.4.8-p3":0.0052,"2.4.8-p4":0.0049,"2.4.8-p5":0.0044,"2.4.9":0.0042,"unspecified":0.0027},"confidence":0.3613},"backportWorthy":{"score":1.67,"probabilities":{"0":0.0689,"1":0.1922,"2":0.7389},"confidence":0.3815}},"curated":{"title":"Fixes the calendar warning when the ICU locale data has no AmPmMarkers","description":"With the latest versions of the ICU library, the locale data can have no AmPmMarkers, so the calendar block has a warning on the array offset on each store visit. The change uses AmPmMarkersAbbr as a fallback and then null, with an integer index instead of a string.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.7-p10":{"before":"not-runnable","after":"pass","adapted":false,"runAt":"2026-10-06T09:29:15.993Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"unit":{"before":"not-runnable","after":"pass","runAt":"2026-10-06T09:29:15.993Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38364 details"}