• Resolved faidul

    (@faidul)


    At the time of installation i delete it’s from mysql db but after re-installation i found nothing in db. i think it’s automatically create table but it’s not true for me. what should i do now to fix it. please help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    hope you are doing well! ??

    You can force to update the database tables. You can do the following:

    1.- make a backup to your database.

    2.- Please, add the following code in the functions.php of your theme:

    if( !function_exists('yith_wcmc_regenerate_database') ) {
     function yith_wcmc_regenerate_database() {
     if ( isset( $_GET['yith-wcmc-regenerate-database'] ) ) {
             delete_option( 'yith_wcmc_db_version' );
     }
       }
    
       add_action( 'init', 'yith_wcmc_regenerate_database' );
    }

    3.- Then visit the following link in order to regenerate the database

    www.YOURSITE.com/?yith-wcmc-regenerate-database

    4.- Check on your database if the following table was created in the right way:

    wp_yith_wcmc_register

    5.- Remove the code you place on step 2.

    Let us know.

    • This reply was modified 4 years, 6 months ago by YITHEMES.
    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    I am setting this topic as solved for now as we have no more news from you.

    But please, feel free to open a new one at any time to receive additional support on any other issue.

    Have a great day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Found Nothing in Database after re-installation of yith-woocommerce-affiliates’ is closed to new replies.