WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP to Twitter] Fatal error: Call to a member function add_cap() on a non-object

[Resolved] [Plugin: WP to Twitter] Fatal error: Call to a member function add_cap() on a non-object

  • NathanBlack
    Member

    @nathanblack

    Just upgraded to the latest version of wp-to-twitter and got the following error message:

    Fatal error: Call to a member function add_cap() on a non-object in /my/site/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 220

    And now I can’t access any of my admin settings. Trying to downgrade now, wish me luck.

    http://wordpress.org/extend/plugins/wp-to-twitter/

Viewing 15 replies - 1 through 15 (of 15 total)
  • melissasaywhat
    Member

    @melissasaywhat

    Did you also download Jetpack?

    melissasaywhat
    Member

    @melissasaywhat

    I went to my GoDaddy hosting account, FTP file manager and deleted the plugins Jetpack and WP to Twitter. That fixed the problem! Now I have to figure out which one jacked it up.

    NathanBlack
    Member

    @nathanblack

    Ah! I did just upgrade both WP to Twitter and Jetpack.

    I just replaced WPtoTwitter with 2.3.14 and now the admin section loads, could be a conflict there. Hard to say.

    Just had the same problem NathanBlack reported:

    Fatal error: Call to a member function add_cap() on a non-object in /home/s27vaug/public_html/sgps/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 220.

    This was an automatic upgrade to the latest version (2.4.1).

    A quick fix’d be lovely but for now if someone can asssist with temporary plugin removal that’d be ace!!

    Plugin Author Joe Dolson
    Participant

    @joedolson

    That was WP to Twitter – not sure xactly why that happened, but I’m making a change which should adjust for it.

    Plugin Author Joe Dolson
    Participant

    @joedolson

    That was WP to Twitter – but I’m making a change which should adjust for it. The upgrade routine had a bug.

    NathanBlack
    Member

    @nathanblack

    Vaughany, go in via FTP, delete the plugin and reupload the previous version:

    http://downloads.wordpress.org/plugin/wp-to-twitter.2.3.14.zip

    @nathan, ta. 🙂

    For me too the same problem. Also auto update.

    @vaughany: if you have access to the database with phpadmin or in whatever way, you can deactivate the plugin like this:
    Go to the wp_options table, find the row with option name active_plugins, delete everything in it (i tried just the seperate plugin entry, but it removed everything anyway), save the record.

    All plugins are deactivated, you can login into the backend again and activate plugins except wp-to-twitter.
    Except for this plugin everything should be working fine again.

    Someone beat me to my answer. Well, hope some still can use it 🙂

    Thanks @nathanblack, cause now i have a link to the previous version served right here.

    Thanks, Michael. I’ve only ever used WordPress as a user, not as a developer, so that knowledge will be useful for the future. 🙂

    @joe, thanks for the speedy resolution. Just reinstalled an older version and upgraded it automatically to 2.4.2 and it worked perfectly.

    Thank you.

    -Vaughany.

    Oh thank you Jebus. I was about to start crying.

    Plugin Author Joe Dolson
    Participant

    @joedolson

    Thank you all for your patience!

    NathanBlack
    Member

    @nathanblack

    2.4.2 works like a charm, thanks Joe!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Resolved] [Plugin: WP to Twitter] Fatal error: Call to a member function add_cap() on a non-object’ is closed to new replies.