Plugin do not install
-
Hi, I am facing this error when trying to activate the plugin:
AH01071: Got error ‘PHP message: WordPress database error Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause for query CREATE TABLE IF NOT EXISTS wp13_radio_player_players(\n \tid bigint(20) NOT NULL AUTO_INCREMENT,\n\t\t\tstatus tinyint(1) NOT NULL DEFAULT 1, \n\t\t\tconfig longtext NULL,\n\t\t\ttitle varchar(255) NULL,\n\t\t\tcreated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\t\tupdated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\t\tPRIMARY KEY (id)\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8 made by activate_plugin, do_action(‘activate_radio-player/plugin.php’), WP_Hook->do_action, WP_Hook->apply_filters, Radio_Player->activate, Radio_Player_Install::activate, Radio_Player_Install::create_tables, dbDeltaPHP message: WordPress database error Invalid default value for ‘created_at’ for query CREATE TABLE IF NOT EXISTS wp13_radio_player_statistics(\n \tid bigint(20) NOT NULL AUTO_INCREMENT,\n\t\t\tplayer_id bigint(20) NOT NULL,\n \tunique_id varchar (32) NOT NULL DEFAULT ”,\n\t\t\t
count
bigint(20) NOT NULL DEFAULT ‘1’,\n\t\t\tuser_ip varchar(128) NOT NULL DEFAULT ”,\n\t\t\tcreated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\t\tupdated_at DATETIME NOT NULL,\n\t\t\tPRIMARY KEY (id),\n\t\t\tUNIQUE KEYunique_id
(unique_id
)\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8 made by activate_plugin, do_action(‘activate_radio-player/plugin.php’), WP_Hook->do_action, WP_Hook->apply_filters, Radio_Player->activate, Radio_Player_Install::activate, Radio_Player_Install::create_tables, dbDelta’, referer: https://pelotas13horas.com.br/wp-admin/plugin-install.php?s=radio%2520player&tab=search&type=termPhp 7.4 mariadb 5 (plesk server)
- The topic ‘Plugin do not install’ is closed to new replies.