quick methode: execute the following query in your sql interface (phpmyadmin):
As this plugin uses a TEXT field, it's impossible to add a default value, so you have to allow null in it. Note that's a fix which can create bugs.
A better way should be to change the type of field: it contains an id, so modify the plugin:
the line 116 (
ALTER TABLE venomusers ALTER COLUMN default_tab TEXT NULL
As this plugin uses a TEXT field, it's impossible to add a default value, so you have to allow null in it. Note that's a fix which can create bugs.
A better way should be to change the type of field: it contains an id, so modify the plugin:
the line 116 (
$db->add_column('users', 'default_tab', 'TEXT NOT NULL');
) must become:$db->add_column('users', 'default_tab', "VARCHAR(255) NOT NULL DEFAULT ''");
And you can uninstall/reinstall the plugin, or directly alter the DB:ALTER TABLE venomusers ALTER COLUMN default_tab VARCHAR(255) NOT NULL DEFAULT ''
Do not ask me help through PM or Discord