{"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":"1cf84cec727aab6fafed9a39ac94a343a59a5da8ff1d6b51a1b4db129c9c80b8","isBugfix":0.972,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9433,"feature":0.0095,"refactor":0.0188,"tests_only":0.0129,"docs_only":0.0048,"dependency":0.0107},"confidence":0.8686},"scope":{"score":0.9817,"probabilities":{"0":0.2029,"1":0.6126,"2":0.1845},"confidence":0.1757},"risk":{"score":0.389,"probabilities":{"0":0.6348,"1":0.3413,"2":0.0239},"confidence":0.2801},"area":{"choice":"framework","probabilities":{"catalog":0.0087,"checkout":0.0064,"customer":0.0051,"admin":0.0182,"graphql_api":0.0044,"framework":0.7458,"frontend":0.2003,"other":0.0111},"confidence":0.5394},"securityRelevant":0.0092,"reportedVersion":{"choice":"2.4.6-p3","probabilities":{"2.4.0":0.0022,"2.4.0-p1":0.0026,"2.4.1":0.0023,"2.4.1-p1":0.0025,"2.4.2":0.0025,"2.4.2-p1":0.0027,"2.4.2-p2":0.003,"2.4.3":0.0027,"2.4.3-p1":0.0031,"2.4.3-p2":0.004,"2.4.3-p3":0.0035,"2.4.4":0.0026,"2.4.4-p1":0.0029,"2.4.4-p10":0.0036,"2.4.4-p11":0.0041,"2.4.4-p12":0.0042,"2.4.4-p13":0.0039,"2.4.4-p14":0.004,"2.4.4-p15":0.0038,"2.4.4-p16":0.0037,"2.4.4-p17":0.0037,"2.4.4-p18":0.0031,"2.4.4-p2":0.0025,"2.4.4-p3":0.0024,"2.4.4-p4":0.0025,"2.4.4-p5":0.0041,"2.4.4-p6":0.0034,"2.4.4-p7":0.0034,"2.4.4-p8":0.0036,"2.4.4-p9":0.0029,"2.4.5":0.0034,"2.4.5-p1":0.0034,"2.4.5-p10":0.0032,"2.4.5-p11":0.004,"2.4.5-p12":0.0052,"2.4.5-p13":0.0043,"2.4.5-p14":0.0058,"2.4.5-p15":0.0038,"2.4.5-p16":0.0045,"2.4.5-p17":0.0034,"2.4.5-p2":0.0033,"2.4.5-p3":0.0039,"2.4.5-p4":0.0033,"2.4.5-p5":0.0036,"2.4.5-p6":0.0045,"2.4.5-p7":0.0039,"2.4.5-p8":0.004,"2.4.5-p9":0.0028,"2.4.6":0.0296,"2.4.6-p1":0.0091,"2.4.6-p10":0.0037,"2.4.6-p11":0.0043,"2.4.6-p12":0.003,"2.4.6-p13":0.0103,"2.4.6-p14":0.0039,"2.4.6-p15":0.0044,"2.4.6-p2":0.0118,"2.4.6-p3":0.6085,"2.4.6-p4":0.0171,"2.4.6-p5":0.0135,"2.4.6-p6":0.0142,"2.4.6-p7":0.0085,"2.4.6-p8":0.0049,"2.4.6-p9":0.0051,"2.4.7":0.0049,"2.4.7-p1":0.0045,"2.4.7-p10":0.0037,"2.4.7-p2":0.0033,"2.4.7-p3":0.0047,"2.4.7-p4":0.0045,"2.4.7-p5":0.0044,"2.4.7-p6":0.0056,"2.4.7-p7":0.0038,"2.4.7-p8":0.0044,"2.4.7-p9":0.003,"2.4.8":0.0039,"2.4.8-p1":0.0041,"2.4.8-p2":0.0043,"2.4.8-p3":0.0052,"2.4.8-p4":0.0048,"2.4.8-p5":0.0058,"2.4.9":0.0044,"unspecified":0.003},"confidence":0.3656},"backportWorthy":{"score":1.6687,"probabilities":{"0":0.0678,"1":0.1957,"2":0.7365},"confidence":0.378}},"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"}