Skip to content

TranslatedText cannot be converted to string when trying to create a product #2400

@ElPootch

Description

@ElPootch

When creating products via the Filament admin panel, I'm encountering the "Object of class
Lunar\FieldTypes\TranslatedText could not be converted to string" error.

This issue was originally reported for v1.0.0-beta21 and was marked as "resolved in v1.2.x" by
@alecritson on Dec 11, 2025. However, the issue persists in both v1.2.x and v1.3.0

Environment

  • Lunar Versions Tested: 1.2.1 and 1.3.0 (both affected)
  • Laravel Version: 11.48.0
  • PHP Version: 8.4.1
  • Filament Version: 3.x

Steps to Reproduce

  1. Install Lunar 1.2.x or 1.3.x
  2. Go to Admin Panel → Catalogue → Products → Create New Product
  3. Fill in the product form and submit

Expected Behavior

Product should be created successfully.

Actual Behavior

Object of class Lunar\FieldTypes\TranslatedText could not be converted to string

Impact

Critical/Blocking - Cannot create or manage products, brands, or customer groups in the admin panel.

Please reopen and investigate. Happy to provide additional details or test any patches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions