Make sure values for longtext fields are propertly cast