MyBB Community Forums
[split] MyBB has experienced an internal SQL error and cannot continue. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [split] MyBB has experienced an internal SQL error and cannot continue. (/thread-235020.html)



[split] MyBB has experienced an internal SQL error and cannot continue. - seemagoyat - 2022-02-24

MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1366 - Incorrect integer value: '' for column 'sid' at row 1
Query:
INSERT INTO mybb_settings (sid,name,title,description,optionscode,value,disporder,gid) VALUES ('','vipmembership_uids','User ID\'s','The ID\'s of the users that get a PM when someone\'s membership expires or when an admin adds someone to a membership. (separated by a comma)','text','1',1,52)


this error is shown when i try to activate my VIP member plugin


RE: MyBB has experienced an internal SQL error and cannot continue. - Crazycat - 2022-02-24

There must be lines looking like 'sid' => '', in the activate function, remove them.
I can't help more without the plugin file.


RE: [split] MyBB has experienced an internal SQL error and cannot continue. - Matt - 2022-02-24

I've split this into a new thread as this error is totally unrelated to the thread that was bumped.