Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Can't create new taxonomy term in non-active site

Đang mở
#11,884 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
laravel, php
Lĩnh vực
backend

Hướng nghiên cứu

Reproduce the issue using the steps in the report: create a multisite taxonomy, set its field to Stack Selector, then try creating a term for the first site while viewing the second site in the CP. Start by examining the error shown in the attached screenshot or video and trace the term-creation flow from there. Done means the term can be created for the selected site without an error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

multisite taxonomies
Bug description

If you have a multi-site (A & B) and you're in site B (in the CP), and an entry has a stack selector terms field, you can't pick site A to create the new term in.

Confusing I know, sorry, hopefully the video is clear

https://github.com/user-attachments/assets/53faf3e2-068e-4748-8340-0c2d0a723de1

How to reproduce
  1. create site
  2. make multisite
  3. make taxonomy, Categories that's in both site
  4. change the pages blueprint and set the categories field to Stack Selector
  5. Set the site to the second site
  6. open home page in the cp
  7. click create on the categories field
  8. click the first site

See error

Image

Logs

Environment
Environment
Application Name: Statamic
Laravel Version: 12.19.3
PHP Version: 8.3.22
Composer Version: 2.8.9
Environment: local
Debug Mode: ENABLED
URL: terms.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
Sites: 2 (Statamic, Second)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.57.0 PRO
Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Ngôn ngữ chính
PHP
Star
4.9k
Fork
647
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
100

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của statamic/cms

Tất cả issue của statamic/cms

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.