[Plugin: WP Calendar] DB Error when inserting an Event
-
Hi. I just installed and activated the WP Calendar (Version 1.4.3). I’m using WP 3.1. I tried to add my first event and I got a DB error…
INSERT INTO wp_fsevents (subject, tsfrom, tsto, allday, description, location, author, createdate, state, postid, updatedbypost) VALUES ('This is the subject field', 1300909500, 1300914300, 0, 'This is the description field.', 'This is the location field', 1, 1300909431, 'draft', NULL, 0) DB Error
I then go into phpmyadmin and try to insert the same SQL statement and get this…
#1364 - Field 'publishauthor' doesn't have a default value
Can you help me get passed this?
I’m going to assume it has something to do with the field, publishauthor, where the type is bigint(20) and Null is set to No without a default and you aren’t passing any info to it via the INSERT.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: WP Calendar] DB Error when inserting an Event’ is closed to new replies.