Skip to content

txp:text item='categories' returns empty string on error status #1988

@alfredbuehler

Description

@alfredbuehler

Expected behaviour

txp:text item='categories' works independent on status.

Actual behaviour

<txp:category_list label="<txp:text item='categories' />" wraptag="p" break="br" labeltag="h4"/>

Using txp:text item='categories' for the label in a txp:category_list renders the expected text string when used on a normal page (200), but it returns an empty string when used on the error_default page (4XX).

Steps to reproduce

{Please write here}

Additional information

Textpattern version: 4.8.8

Web server vendor and version: Apache 2.4

Database server vendor and version: irrelevant

PHP version: 8.2.28

Operating system: Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions