• Resolved 3nd3r

    (@3nd3r)


    I (and more users) of this nonworking plugin are trying to uninstall it, but we need the server of the plugin to work… And it isn’t working…

    I don’t know how can we make it, I’m not a code expert, but maybe someone here can help.

    The plugin is called ‘Extreme SEO’ and works along with https://www.seolinknet.com, wich is currently offline and causes some blog freezes.

    The uninstall.php file of this unuseful plugin is this:

    <?php
    
    ####
    ## The deactivation process removes the member and posts from the network so that part is redundant
    ## here and will have no effect since you have to deactivate before you can issue a delete which runs
    ## the uninstall however, the linksperpost and headertext are not deleted upon deactivation and the
    ## activation process runs the uninstall server code if there is an outdated license type stored in the
    ## wp db so while there are some redundant functions in the deactivation and uninstall routines, they are
    ## both needed.
    #### 
    
    ####
    ## Get some site info so we can send the extremeseo network notification
    ####
    
    $extremeseo_licensekey = get_option('extremeseo_licensekey');
    $siteurl = get_option('siteurl');
    $admin_email = get_option('admin_email');
    
    ####
    ## Notify the extremeseo network staff
    ####
    
    mail('[email protected]','Extreme SEO Plugin Client Side Uninstall',"There was an uninstall of the extremeseo plugin on " . $siteurl . " -- " . $admin_email);
    
    ####
    ## Send the site info to the extremeseo server so we can remove the site from the network
    ####
    
    $info = array(
    "key" => $extremeseo_licensekey,
    "sitename" => $siteurl,
    "admin_email" => $admin_email
    );
    
    $ch = curl_init('https://www.seolinknet.com/wp-codebase/extremeseo-uninstall.php');
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $info);
    curl_exec($ch);
    curl_close($ch);
    
    ####
    ## Remove the plugin options from the database
    ####
    
    delete_option('extremeseo_headertext');
    delete_option('extremeseo_linksperpost');
    delete_option('extremeseo_licensekey');
    
    ?>

    We are afraid of deleting all files of this plugin in plugins directory causes blogs not to work properly…

    Any ideas? Please help us!

    Thanks in advance for your time

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User

    (@anonymized-3085)

    Really? that’s just well wow.

    The only bit in there you actually need is:

    delete_option('extremeseo_headertext');
    delete_option('extremeseo_linksperpost');
    delete_option('extremeseo_licensekey');

    So I’d delete everything but that and then uninstall it.

    I’ve had a quick flip through the plugin, can’t see anything else it stores locally.

    Thread Starter 3nd3r

    (@3nd3r)

    This is the result:

    There was an error deactivating your account, please contact us at https://www.seolinknet.com with the following error

    This is the same result that if you try to uninstall without any modification… So I think there is something missed here…

    Anonymous User

    (@anonymized-3085)

    ahh, forgot you need to deactivate, in extremeseo.php find and either comment out or delete:
    register_deactivation_hook( __FILE__, 'extremeseo_deactivate' );

    then try again. Sadly because of what they have done in the coding, it might be a case of sorting one thing then moving onto the next.

    Thread Starter 3nd3r

    (@3nd3r)

    I’ve finally done by commenting out any line or ‘if’ loop with a connection to seolinknet.com

    Thank you very much for your help. I’ve tag this thread so other users with this problem (well, ALL users of this plugin) can solve it.

    I also put a link to this thread in other similar posts.

    Thanks again!

    I deleted this line “register_deactivation_hook( __FILE__, ‘extremeseo_deactivate’ );” and now I’m not able anymore to access my dashboard. The website is still on but I’m out of administration. This is the message I receive: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 30720 bytes) in ***********/public_html/wp-admin/includes/file.php on line 682

    Can please someone help me?

    And, btw, given what this plugin really does wouldn’t be better to delete it from the list of available plugins?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help to uninstall nonworking plugin’ is closed to new replies.