Title: Operation corrupted
Last modified: September 1, 2016

---

# Operation corrupted

 *  [kilador](https://wordpress.org/support/users/kilador/)
 * (@kilador)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/operation-corrupted/)
 * Hi Makong,
 * I’m opening a new thread because the other one has been closed.
 * I’m getting “Operation corrupted” messages when linking or counting, you said
   the following:
 * hi, the issue had emerged following after update, if it possible check your db,
   there is must be a column ‘tag’, [http://prntscr.com/c9i3bd](http://prntscr.com/c9i3bd)
 * Did you mean that I should delete that column in order to get it fixed?
 * Thanks a lot!
 * best,
    C
 * [https://wordpress.org/plugins/internal-links-generator/](https://wordpress.org/plugins/internal-links-generator/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [makong](https://wordpress.org/support/users/makong/)
 * (@makong)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/operation-corrupted/#post-7718765)
 * Hello, no, on the contrary. Column “tag” should be in database table!
 *  Thread Starter [kilador](https://wordpress.org/support/users/kilador/)
 * (@kilador)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/operation-corrupted/#post-8212216)
 * Hi Makong!
 * Sorry I am not very mySQL savvy.
 * Can you let me know how to easlily insert that table so I fix the operation corrupted?
   Or let me know in which table I have to insert it in order to get the plugin 
   back to work
 * Thanks a ton!
 * Best,
    C
 *  Plugin Author [makong](https://wordpress.org/support/users/makong/)
 * (@makong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/operation-corrupted/#post-8212922)
 * Hi, there are several ways we can do this:
    – if you don’t have a lot of keywords
   in table you can totally reinstall plugin; – if you have access to cpanel of 
   your hosting you can mannualy add column ‘tag’ (`tag` VARCHAR(20) NOT NULL) to
   table ‘[your_wp_prefix]_internalinks’ through the phpmyadmin; – or:
 * 1. put this code to file functions.php
 *     ```
       add_action('init', 'ilgen_insert_column');
       function ilgen_insert_column(){
           if(is_admin() && 'internal_links_generator' == $_GET['page']){
               global $wpdb;
               if(!$wpdb->query("SHOW COLUMNS FROM {$wpdb->prefix}internalinks LIKE 'tag'")){
                   if($wpdb->query("ALTER TABLE {$wpdb->prefix}internalinks ADD tag VARCHAR(20) CHARACTER SET utf8 NOT NULL")){
                       echo '<script>alert("Internal links: column \'tag\' successfully added!");</script>';
                   }
               }
           }
       }
       ```
   
 * 2. open once plugin page [http://[your_domain.com]/wp-admin/options-general.php?page=internal_links_generator](http://[your_domain.com]/wp-admin/options-general.php?page=internal_links_generator)
   
   3. when you saw window with text “Internal links: column ‘tag’ successfully added!”
   remove code from file functions.php
 *  Plugin Author [makong](https://wordpress.org/support/users/makong/)
 * (@makong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/operation-corrupted/#post-8213226)
 * hey, i was add fix of this problem to next update (version 2.6)
 *  Plugin Author [makong](https://wordpress.org/support/users/makong/)
 * (@makong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/operation-corrupted/#post-8213831)
 * … and don’t forget to disable/enable plugin after update.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Operation corrupted’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/internal-links-generator.svg)
 * [Internal Links Generator](https://wordpress.org/plugins/internal-links-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/internal-links-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/internal-links-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/internal-links-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/internal-links-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/internal-links-generator/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [makong](https://wordpress.org/support/users/makong/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/operation-corrupted/#post-8213831)
 * Status: not resolved