PrestaShop/PrestaShop

An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\State\Exception\DeleteStateException code 1]

已關閉

#39,761 建立於 2025年10月15日

 (4 則留言) (0 個反應) (0 位負責人)PHP (4,734 個分叉)batch import
BOBugGood first issueInternationalLocationsReadyStatesTrivialVerified

倉庫指標

星標
 (7,621 顆星)
PR 合併指標
 (平均合併 26天 17小時) (30 天內合併 116 個 PR)

描述

Prerequisites

Describe the bug and add attachments

Hi. I am using PrestaShop 9.0.1. When trying to delete Locations > States, there is an error, "An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\State\Exception\DeleteStateException code 1]". Can anyone help me to fix this?.

Expected behavior

No response

Steps to reproduce

  1. Locations
  2. States
  3. Click Delete

PrestaShop version(s) where the bug happened

9.0.1

How you installed PrestaShop

No response

PHP version(s) where the bug happened

8.1.32

If your bug is related to a module, specify its name and its version

No response

Your company or customer's name goes here (if applicable).

No response

貢獻者指南