2008-07-28, 10:04 AM
I was trying to add a custom thread tool to my board, and I got this:
Any idea what's causing this?
Quote:MySQLi error: 1364
Field 'postoptions' doesn't have a default value
Query: INSERT INTO mybb_modtools (type, threadoptions, name, description, forums) VALUES ('t', 'a:13:{s:12:\"deletethread\";s:2:\"no\";s:12:\"mergethreads\";s:2:\"no\";s:10:\"deletepoll\";s:2:\"no\";s:15:\"removeredirects\";s:2:\"no\";s:13:\"approvethread\";s:0:\"\";s:10:\"openthread\";s:5:\"close\";s:10:\"movethread\";i:-1;s:18:\"movethreadredirect\";s:3:\"yes\";s:24:\"movethreadredirectexpire\";i:0;s:10:\"copythread\";i:-1;s:10:\"newsubject\";s:18:\"[CLOSED] {subject}\";s:8:\"addreply\";s:14:\"Thread locked.\";s:12:\"replysubject\";s:0:\"\";}', 'Insta-lock thread', 'Closes selected thread, adds [CLOSED] to the thread\'s title, and posts a \"Thread locked\" message in the thread, all at the same time.', '-1');
Any idea what's causing this?