WordPress.org

Support

Support » Plugins and Hacks » Where did they go from here » [Resolved] [Plugin: Where did they go from here] bad error upon plugin deletion

[Resolved] [Plugin: Where did they go from here] bad error upon plugin deletion

  • At this url…
    https://….com/wp-admin/plugins.php?action=delete-selected&checked[0]=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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Plugin Author Ajay

    @ajay

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

    Ajay

    Plugin Author Ajay

    @ajay

    I just released a new version that should fix this error

    Updated, deleted, thanks. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Where did they go from here] bad error upon plugin deletion’ is closed to new replies.
Skip to toolbar