Skip to content

Fix __PHP_Incomplete_Class errors#36

Merged
aerni merged 1 commit into
mainfrom
fix/serializable-classes
Apr 9, 2026
Merged

Fix __PHP_Incomplete_Class errors#36
aerni merged 1 commit into
mainfrom
fix/serializable-classes

Conversation

@aerni

@aerni aerni commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Register Icon, Icons, and Kit as serializable classes to prevent cache deserialization failures on apps using Laravel's serializable_classes restriction (introduced in v12.53.0). Without this, cached objects deserialize as __PHP_Incomplete_Class, breaking the fieldtype.

Bumps minimum Statamic version to ^6.10 which introduced registerSerializableClasses in statamic/cms#14416.

@aerni
aerni merged commit ba0cc54 into main Apr 9, 2026
1 check passed
@aerni
aerni deleted the fix/serializable-classes branch April 9, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant