Skip to content

Creatting tax class with only number #127

@freshface

Description

@freshface

Bug description

When creating a tax class with name: 21 results in an error when creating a tax zon: Undefined array key 21

How to reproduce

  • Create tax class with name: 21
  • Create tax zone

Logs

Environment

Environment
Application Name: Marlies De Poep
Laravel Version: 12.50.0
PHP Version: 8.3.25
Composer Version: 2.8.10
Environment: local
Debug Mode: ENABLED
URL: marlies-de-boeck-2026.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: smtp
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 10
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.2.4 PRO

Statamic Addons
aryehraber/statamic-captcha: 1.16.0
duncanmcclean/statamic-cargo: 1.0.0
jacksleight/statamic-bard-texstyle: 4.0.0
studio1902/statamic-peak-browser-appearance: 4.0.0
studio1902/statamic-peak-seo: 10.0.0
studio1902/statamic-peak-tools: 8.4.0

Cargo
Carts: file
Orders: file
Payment Gateways: Dummy

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions