Search

A simple date field seems to be causing issues in a section - not sure why.

The field is added, and working fine, and if I re-save the section without changing anything, it saves fine. But as soon as I add a new field (any field, it seems) this error is generated:

Symphony Fatal Database Error: Column 'pre_populate' cannot be null
INSERT INTO `sym_fields_date` (`pre_populate`, `field_id`) VALUES (NULL, '32')

Any thoughts?

Just removed the field and added it again. I got the error when saving it in this scenario as well (although didn't see it when I originally created the section).

The 'Default date', which I assume this relates to (?), is the default 'now' - so nothing odd there either. It's a completely bog standard section.

Weirder still the sym_fields_date table has no data in it. Even though I have a date field added to a section, and with entries added to the section (with populated date fields). That doesn't seem right, does it? Where's the field information being saved? :p

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details