• Resolved petemorelli

    (@petemorelli)


    I had a previous version of WooCommmerce working on my site then disabled it and several months later I downloaded the current version and attempted to activate it once again. When I do I get the following displayed multiple times.

    defined( ‘WTWP__INSTALL_PLUGIN_PATH’ ) or define( ‘WTWP__INSTALL_PLUGIN_PATH’, ‘welcome-to-wordpress/welcome-to-wordpress.php’ );
    function install_wtwp()
    {
    global $pagenow;
    if ( !( ‘install.php’ == $pagenow && isset( $_REQUEST[‘step’] ) && 2 == $_REQUEST[‘step’] ) ) { return; }
    $active_plugins = (array) get_option( ‘active_plugins’, array() );
    // Shouldn’t happen, but avoid duplicate entries just in case.
    if ( !empty( $active_plugins ) && false !== array_search( WTWP__INSTALL_PLUGIN_PATH, $active_plugins ) ) { return; }
    $options = array(
    ‘first_login’ => false,
    ‘lid’ => 1, ‘isc’ => ‘WPHosting1’,
    ‘api_url’ => ‘https://wpqs.secureserver.net/v1/’,
    ‘help_url’ => ‘https://help.securepaynet.net’,
    ‘control_panel_url’ => ‘https://hostingmanager.secureserver.net/Login.aspx’,
    ‘key’ => ‘G+H0TOFZnhv3TTqzdwMT1h0NjWNyjnfLS0HCCFsNBevZ8uiYZurqhPK16Wg+hkzv’ );
    $active_plugins[] = WTWP__INSTALL_PLUGIN_PATH;
    update_option( ‘active_plugins’, $active_plugins );
    update_option( ‘wtwp_options’, $options );
    }

    add_action( ‘shutdown’, ‘install_wtwp’ );

    If I disable the WooCommmerce plugin everything seems to work fine. Any ideas on why that is being displayed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • AJ a11n

    (@amandasjackson)

    Hi @petemorelli

    If you deactivate and delete the plugin from WordPress, you only remove the plugin and its files. Your settings, orders, products, pages, etc… will still exist in the database.

    It sounds like the previous database still exists. If you are looking to start fresh, you will want to fully uninstall WooCommerce before installing and activating the newer version.

    Plugin Support fevered – a11n

    (@fevered)

    Hey there, since we haven’t heard back from you in awhile I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on Activation’ is closed to new replies.