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
Simon Owen Design
Member
Posted 2 years ago #
Same problem, had to disable for now. Found a fix yet?
Fixed in Development Version download, .1 release forthcoming.
Simon Owen Design
Member
Posted 2 years ago #
Thanks Alex, will look out for it.
Gabriel Serafini
Member
Posted 2 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.
the plugin is working again, thanks for the help