You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT:
After checking error logs, this is what I found
SQL Error: 1364 - Field 'datetime' doesn't have a default value Query: INSERT INTO mybb_fc_formusage (formid,uid,ref) VALUES ('1',1,1)
To fix it, deactivate and uninstall plugin. Edit the following lines in class_formcreator.php and upload that edited file
array(
"Field" => "datetime",
"Type" => "timestamp",
"NULL" => 0)));
And there is also issue if "post as user" is -1. It should post as bot but instead it gives this sql error.
SQL Error: 1264 - Out of range value for column 'uid' at row 1
Query:
INSERT
INTO mybb_threads (`fid`,`subject`,`prefix`,`icon`,`uid`,`username`,`dateline`,`lastpost`,`lastposter`,`lastposteruid`,`views`,`replies`,`visible`,`notes`)
VALUES ('17','Form submission: test',0,0,-1,'Form Creator Bot',1737029477,1737029477,'Form Creator Bot',-1,0,0,1,'')
Temp FIX: Just leave the option empty so the user who submitted a form will be also the author of it.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should submit it normally
Desktop (please complete the following information):
Please add an export of your form if the issue is within processing the form
[{"name":"test","active":"1","fid":"-1","tid":"0","overridebutton":"0","class":"","settings":{"allowedgidtype":"0","allowedgid":["4"],"customdenied":"","limitusage":"","pmusers":"","prefix":"0","uid":"","customsuccess":"","signature":"0","posticon":"0","showsummary":"0","summaryparsed":"0","customsummary":"","width":"","labelwidth":"","pmgroups":[""]},"subjecttemplate":null,"messagetemplate":null,"fields":[{"fieldid":"1","name":"TEXT","description":"","type":"2","default":"","required":"1","order":"0","class":"","settings":{"placeholder":"","maxlength":"","regex":"","regexerror":"","cols":"","rows":"","resize":"1"}},{"fieldid":"2","name":"Send","description":"","type":"11","default":"","required":"0","order":"1","class":"","settings":null}],"usage":[]}]
EDIT:
After checking error logs, this is what I found
SQL Error: 1364 - Field 'datetime' doesn't have a default value Query: INSERT INTO mybb_fc_formusage (
formid,
uid,
ref) VALUES ('1',1,1)
To fix it, deactivate and uninstall plugin. Edit the following lines in class_formcreator.php and upload that edited file
array(
"Field" => "datetime",
"Type" => "timestamp",
"NULL" => 0)));
--->>
then install and activate plugin.
-
And there is also issue if "post as user" is -1. It should post as bot but instead it gives this sql error.
Temp FIX: Just leave the option empty so the user who submitted a form will be also the author of it.
The text was updated successfully, but these errors were encountered: