fatal error when activate(default value for text column)
-
Fatal error: Uncaught Migrate.php(259) : SwitchToIndividualAnswers – Error executing ‘query’ with: CREATE TABLE
wp_t_answers(answer_idbigint UNSIGNED auto_increment NOT NULL,question_idbigint UNSIGNED NOT NULL,global_answer_idbigint UNSIGNED,answer_titletext DEFAULT ”, PRIMARY KEY (answer_id)) ENGINE=MyISAM DEFAULT CHARSET=utf8; Reason: BLOB/TEXT column ‘answer_title’ can’t have a default value thrown in …\wp-content\plugins\wp-testing\vendor\ruckusing\ruckusing-migrations\lib\Task\Db\Migrate.php on line 259MySQL server is running on Windows.
According to the page,
Windows MySQL v5 throws an error, but Linux and other versions only raise a warning. This needs to be fixed.
The topic ‘fatal error when activate(default value for text column)’ is closed to new replies.