Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#11,884 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
laravel, php
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PHP
Stelle
4.9k
Fork
647
Merge medio
1g 19h
PR unite (30g)
108

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di statamic/cms

Tutte le issue di statamic/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.