Plugin Author
Bob
(@prasunsen)
Deactivate and activate the plugin and the column will be created.
Sorry should have mentioned ive tried this a few times no joy.
Plugin Author
Bob
(@prasunsen)
In this case you’ll have to manually create the missing column in phpMyAdmin
Ok Iam in my PHP but what do I do next
Plugin Author
Bob
(@prasunsen)
Select the database, go in SQL mode and run the following command:
ALTER TABLE wp_watu_master ADD randomize TINYINT NOT NULL DEFAULT 0
should it come up with #1046 – No database selected
Plugin Author
Bob
(@prasunsen)
No, you need to select the database from the dropdown at left first.
There now seems to be a singlepage field error. ?
Plugin Author
Bob
(@prasunsen)
ALTER TABLE wp_watu_master ADD single_page TINYINT NOT NULL DEFAULT 0;
Thank you sorted. You are a master of your project.
Plugin Author
Bob
(@prasunsen)
Thanks! Sorry you had to do it manually, for some reason the auto-update hasn’t went smooth in your case. Version 2.0 is soon on its way.
Sorry new problems after having to deactivate your plugin for a bulk install on starting to set the questions I now get.
INSERT INTO wp_watu_question (exam_id, question, answer_type, is_required) VALUES(1, ‘This is my test question’, ‘radio’, 0)
Plugin Author
Bob
(@prasunsen)
Sorry, no idea why it would output the query. There is no such thing in the code.
does this help
WordPress database error: [Unknown column ‘is_required’ in ‘field list’]
Plugin Author
Bob
(@prasunsen)
Yes. Deactivate and activate.