Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#11,884 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
laravel, php
Domain
backend

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
PHP
Stars
4.9k
Forks
647
Avg merge
1d 20h
Merged PRs (30d)
113

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from statamic/cms

All issues in statamic/cms

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.