2021-12-31, 08:11 AM
(This post was last modified: 2021-12-31, 08:48 AM by PARADOX987. Edited 1 time in total.)
Whenever i am trying to permanently delete a post
i am getting this type of SQL error.
please tell me how can i solve this error.
i fixed it myself by run this query :-
i am getting this type of SQL error.
SQL Error:
1364 - Field 'notes' doesn't have a default value
Query:
INSERT INTO mybb_threads (`dateline`,`lastpost`,`fid`,`subject`,`uid`,`username`,`visible`,`closed`) VALUES (1640685844,1640685844,43,'RE: The best-selling rosin press on ecoarm.ca, Christmas promotion!',1,'PARADOX',1,'yes')
please tell me how can i solve this error.
i fixed it myself by run this query :-
ALTER TABLE `mybb_threads` CHANGE `notes` `notes` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0';