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_id
bigint UNSIGNED auto_increment NOT NULL,question_id
bigint UNSIGNED NOT NULL,global_answer_id
bigint UNSIGNED,answer_title
text 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.