After disabling that extension the notices are gone, which was indeed the faulty extension.
However the database error is still listed in Query Monitor. It states “database error: describe if;”.
I thoroughly checked the code and this query is generating the error. Funny thing, the previous version of the plugin has _exactly_ the same code and did not generate an error.
When I disable the call to below function in the plugin the “Database Error: DESCRIBE IF;” is gone.
public static function createTable() {
global $wpdb;
// create list table.
$creation_query =
'CREATE TABLE IF NOT EXISTS ' . $wpdb->prefix . self::TABLE_NAME . ' (
id int(20) NOT NULL AUTO_INCREMENT,
email varchar(255),
code varchar(100),
listIDs longtext,
redirectUrl varchar(255),
info TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci,
frmid int(2),
PRIMARY KEY (id)
);';
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
dbDelta( $creation_query );
}
-
This reply was modified 6 years, 1 month ago by opicron.
-
This reply was modified 6 years, 1 month ago by opicron.
-
This reply was modified 6 years, 1 month ago by opicron.