• Resolved Olaf Lederer

    (@finalwebsites)


    Hi,

    today I’ve noticed that one file has 3 typos for this database table, it’s in the file: /wp-content/plugins/broken-link-checker/includes/any-post.php

    The three typos are one these rows:

    138 ‘SELECT instance_id FROM'.$wpdb->prefix.'_blc_instancesWHERE container_id = %d AND container_typ

    152 $q_current_link_ids = ‘SELECT DISTINCT link_id FROM'.$wpdb->prefix.'_blc_instancesWHERE instance_

    159 $wpdb->query( ‘DELETE FROM'.$wpdb->prefix.'_blc_instancesWHERE instance_id IN (\”.implode(“‘, ‘”

    There is an additional _ underscore. If your prefix is wp_, the query will use a table name wp__blc_instances. This table doesn’t exists and wp_cron will fire an error.

    Thanks for providing this great plugin!

    • This topic was modified 5 years, 12 months ago by Olaf Lederer.
    • This topic was modified 5 years, 12 months ago by Olaf Lederer.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Wrong table name _blc_instances’ is closed to new replies.