WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Twitter Tools] Error on template tag on ver 2.3 (7 posts)

  1. archondigital
    Member
    Posted 4 years ago #

    I updated to version 2.3 just now and immediately started getting errors on the <?php aktt_latest_tweet(); ?> template tag.

    This is the error I get:

    Fatal error: Using $this when not in object context in /[LOCATION]/wp-content/plugins/twitter-tools/twitter-tools.php on line 850

  2. Simon Owen Design
    Member
    Posted 4 years ago #

    Same problem, had to disable for now. Found a fix yet?

  3. Alex King
    Member
    Posted 4 years ago #

    Fixed in Development Version download, .1 release forthcoming.

  4. Simon Owen Design
    Member
    Posted 4 years ago #

    Thanks Alex, will look out for it.

  5. archondigital
    Member
    Posted 4 years ago #

    thanks Alex!

  6. Gabriel Serafini
    Member
    Posted 4 years ago #

    The quick fix for this is to change line 850 of twitter-tools.php from this:
    WHERE tw_text NOT LIKE '".$wpdb->escape($this->tweet_prefix)."%'

    To this:
    WHERE tw_text NOT LIKE '".$wpdb->escape($aktt->tweet_prefix)."%'

    That should work until the new plugin is updated.

  7. archondigital
    Member
    Posted 4 years ago #

    the plugin is working again, thanks for the help

Topic Closed

This topic has been closed to new replies.

About this Topic