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

贡献者指南