WordPress.org

Ready to get started?Download WordPress

Forums

Where did they go from here
[resolved] bad error upon plugin deletion (5 posts)

  1. Clifford Paulick
    Member
    Posted 2 years ago #

    At this url...
    https://....com/wp-admin/plugins.php?action=delete-selected&checked0=where-did-they-go-from-here%2Fwhere-did-they-go-from-here.php&plugin_status=upgrade&paged=1&s&_wpnonce=c6d2be840b

    I received this error...
    Fatal error: Call to a member function query() on a non-object in /home/.../public_html/wp-content/plugins/where-did-they-go-from-here/uninstall.php on line 9

    This is the content of uninstall.php:

    <?php
    if ( !defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
        exit();
    }
    	delete_option('ald_wherego_settings');
    
    	// Delete meta
    	$sql = "DELETE FROM ".$wpdb->postmeta." WHERE <code>meta_key</code> = 'wheredidtheycomefrom'";
    	$wpdb->query($sql);
    
    ?>

    Line 9 is the last line before the closing PHP.

    Then I upgraded to newest release (today) and tried again. Same result.

    PLEASE FIX so I can safely delete files and data.

    Thank you.

    http://wordpress.org/extend/plugins/where-did-they-go-from-here/

  2. carolf
    Member
    Posted 2 years ago #

    Ditto. I eventually had to uninstall my whole site -- not sure of this plugin was the original problem, but I had a hard time deleting it. Got white pages, my cache disappeared, and eventually, I couldn't log in.

  3. Ajay
    Member
    Plugin Author

    Posted 2 years ago #

    Clifford. Will take a look at this. Hadn't noticed this problem on my test blogs. Could be a version issue.

    Ajay

  4. Ajay
    Member
    Plugin Author

    Posted 2 years ago #

    I just released a new version that should fix this error

  5. Clifford Paulick
    Member
    Posted 2 years ago #

    Updated, deleted, thanks. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic