Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Error when saving a large number of characters in a textarea. #21

Description

@jeremydouglas

Describe the bug
Error when saving a large number of characters in a textarea.

To Reproduce
Steps to reproduce the behavior:

When saving a few textareas with more than 1500 characters, then loading the {{ workshop:entry:edit }} edit again in a template again, the below error is returned:

ErrorException in Parser.php line 596:
preg_replace(): Compilation failed: regular expression is too large at offset 35897

Environment details (please complete the following information):

  • Workshop Version 1.1.0
  • Statamic Version 2.10.2
  • PHP Version: 7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions