Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter opicron

    (@opicron)

    I found these two errors popping up:

    Notice: Undefined index: /var/www/html/wp-admin/update.php in /var/www/html/wp-content/plugins/wp-query-monitor-included-files-master/classes/QM_Collector_IncludedFiles.class.php on line 57

    Notice: Undefined index: /var/www/html/wp-admin/update.php in /var/www/html/wp-content/plugins/wp-query-monitor-included-files-master/classes/QM_Collector_IncludedFiles.class.php on line 58

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the message. These errors are coming from the query-monitor-included-files plugin. You’ll need to contact that plugin’s author.

    John

    Thread Starter opicron

    (@opicron)

    Thank you for the heads up! Forgot about that one. My bad!

    Thread Starter opicron

    (@opicron)

    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.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SendInBlue plugin mentions Query Monitor might be at fault’ is closed to new replies.