Skip to content

FormIt 5.2.3-pl causes HTTP 500 on MODX 3 / PHP 8.4.4 #308

@druid-77

Description

@druid-77

Bug report

Summary

FormIt 5.2.3-pl causes HTTP 500 on MODX 3 / PHP 8.4.4

Step to reproduce

  1. Install FormIt 5.2.3-pl via Package Manager
  2. Open website frontend
  3. Site returns HTTP 500 error

Observed behavior

After updating FormIt, the entire site returns HTTP 500 error.
Logs show:

  • Serialization of 'Closure' is not allowed
  • var_export does not handle circular references

Reverting to previous version fixes the issue.
Issue occurs immediately after installation/update, no custom code required.

Expected behavior

Website should load normally after updating FormIt.

Environment

MODX 3
PHP 8.4.4
FormIt 5.2.3-pl
Database: (MySQL/MariaDB version if known)
Web server: Apache or Nginx (version if known)
reCAPTCHA not used
Issue reproduced on both local and production environments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions