[僅限PaaS]{class="badge informative" title="僅適用於雲端專案(Adobe管理的PaaS基礎結構)和內部部署專案的Adobe Commerce 。"}

ACSD-68759:當店面上可見Date of Birth時,客戶帳戶建立失敗,使用阿拉伯語(沙烏地阿拉伯)區域設定

ACSD-68759修補程式修正當​ Create an Account ​設定為​ Locale ​阿拉伯文(沙烏地阿拉伯)​屬性顯示在店面時,客戶​ Date of Birth ​頁面無法載入的問題。 安裝Quality Patches Tool (QPT) 1.1.77時,即可使用此修補程式。 修補程式ID為ACSD-68759。 請注意,此問題已排程在Adobe Commerce 2.4.9中修正。

受影響的產品和版本

已為Adobe Commerce版本建立修補程式:

  • Adobe Commerce (所有部署方法) 2.4.7-p5

與Adobe Commerce版本相容:

  • Adobe Commerce (所有部署方法) 2.4.4-p2 - 2.4.4-p16, 2.4.5-p1 - 2.4.8-p3
NOTE
該修補程式可能適用於具有新Quality Patches Tool版本的其他版本。 若要檢查修補程式是否與您的Adobe Commerce版本相容,請將magento/quality-patches包更新為最新版本,並檢查Quality Patches Tool:搜索修補程式頁上的相容性。 使用修補程式ID作為搜索關鍵字來查找修補程式。

問題

當​ Create an Account ​設定為阿拉伯文(沙烏地阿拉伯)且​ Locale ​屬性可見於店面時,Date of Birth​頁面無法載入,導致TypeError

要再現的步驟

  1. 登入管理員。
  2. 前往​Stores > Attributes > Customer
  3. 編輯​ dob ​屬性代碼。
    • 將​ Show on Storefront ​設為​
  4. 按一下​Save Attribute
  5. 前往「Stores > Settings > Configuration > General > Locale Options」。
    • 將​ Locale ​設定為​阿拉伯語(沙烏地阿拉伯)
  6. 去店面。
  7. 開啟​ Create an Account ​頁。

預期結果

當​ Create an Account ​設定為​ Locale ​阿拉伯文(沙烏地阿拉伯)​屬性顯示在店面時,Date of Birth​頁面載入且沒有錯誤。

實際結果

  • Create an Account​頁面未載入。

  • 會記錄下列錯誤:

    code language-none
    [2025-10-31T02:14:35.029229+00:00] report.CRITICAL: TypeError: iterator_to_array(): Argument #1 ($iterator) must be of type Traversable|array, null given in app/code/Magento/Customer/Block/Widget/Dob.php:421
    

套用修補程式

若要套用個別修補程式,請根據您的部署方法使用下列連結:

相關閱讀

要瞭解有關Quality Patches Tool的詳細資訊,請參閱:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3