set_transient fails if the value has more than 60.000 characters
I have a problem which I can’t figure out. I have a collection of object which sometimes can be very big. I have to store the entire collection as a serialized transient. The problem is that when the serialized string has more than 60000 characters the insertion in the DB fails.
Why? I checked the wp_options table and the “value” column is a longtext. Which holds 4GB of data, am I right?