Error on saving popup content
-
When clicking “Insert Details”, I get the following error message:
WordPress database error: [Field ‘onclickpopup_Random’ doesn’t have a default value]
INSERT INTOwptt_onclick_popup_plugin(onclickpopup_group,onclickpopup_title,onclickpopup_content) VALUES(‘GROUP1’, ‘Popup Title For Test’, ‘This is the content of the popup. Let\\\’s see what this is going to say.’)Adding a DEFAULT ” to the columns onclickpopup_Random, onclickpopup_Extra1, onclickpopup_Extra2, onclickpopup_Extra3 solves the problem. This also solves the problem of adding data while installing the plugin.
The topic ‘Error on saving popup content’ is closed to new replies.