Questions tagged [serialization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

Serializing assets field is returning a serialized criteria object, but how to return serialized data?

I'm saving a custom element that has content by field layout. When successfully saved, I return the object in the response. Now, most of the data is usable but the assets field is just a serialized ...
1
vote
1answer
69 views

Do field values get serialized before validation?

I am learning to write my first plugin for Craft CMS 3.x I have a field that gets displayed as a string, but is stored in the database as binary. When I validate it, I write: public function ...
1
vote
1answer
105 views

What Might Be Causing This Serialization Error?

Craft Pro 3.0.7Notifications Plugin 1.0.6PHP 7.0 In trying to send notifications for new entries that have a checkbox field, we get this error in the logs: 2018-05-14 09:19:32 [192.168.10.1][1][-...