I update my site’s theme: True Mag. Suggested updates for Simple Twitter Tweets was recommended. Once STT was updated the entire site broke. Received WordPress email;
Howdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Simple Twitter Tweets.
First, visit your website (https://inventionschool.tech/) and check for any visible issues. Next, visit the page where the error was caught (https://inventionschool.tech/wp-admin/admin-ajax.php) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2
Active theme: truemag (version 4.3.14)
Current plugin: Simple Twitter Tweets (version 4.4)
PHP version 8.1.17
Error Details
=============
An error of type E_ERROR was caused in line 614 of the file /home4/inventw6/public_html/wp-content/plugins/simple-twitter-tweets/simple-twitter-tweets.php. Error message: Uncaught Error: Call to undefined function create_function() in /home4/inventw6/public_html/wp-content/plugins/simple-twitter-tweets/simple-twitter-tweets.php:614
Stack trace:
#0 /home4/inventw6/public_html/wp-settings.php(453): include_once()
#1 /home4/inventw6/public_html/wp-config.php(102): require_once(‘/home4/inventw6…’)
#2 /home4/inventw6/public_html/wp-load.php(50): require_once(‘/home4/inventw6…’)
#3 /home4/inventw6/public_html/wp-admin/admin-ajax.php(22): require_once(‘/home4/inventw6…’)
#4 {main}
thrown
Finally time to remove/replace this plugin:
2022/11/07 10:20:14 [error] 942#942: *449730 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /var/www/sitename.com/htdocs/wp-content/plugins/simple-twitter-tweets/simple-twitter-tweets.php:614
hi,
is there is reason the image logo would display as not HTTPS?
See here: https://www.screencast.com/t/BcWSEZ6D
Cheers
]]>Hi,
the plugin stopped working about 1 month ago. The tweets are not refreshing.
The strange thing is that it still works on my local environment with exactly the same settings.
Any idea ?
thanks
I created a new website and set up the app on twitter dev. However, I get this message no matter what I do. Everything is set up correctly (no space in the api keys) and curl is set up on the server. I enabled WordPress debug but I do not get any error message.
Can I know if there is any special configuration on the server required to make this work? I did not find any such requirements in the documentation.
I am working on Ubuntu 16.04.3 with php 7.0.22.
The WordPress Version is 4.9.1
Simple Twitter Tweets is the only plugin enabled on the website.
Thanks.
]]>Widget is loosing/cutting links to Twitter hashtags, when hashtags contains national characters – in my case polish language (?, ?, ?, ? etc.)
For example:
If in Twitter message is #Ró?norodno??, then widget shows the full hashtag, but link it to #R (linked to https://twitter.com/search?q=%23R).
If national characters are in hashtag link is avaliable only to string from “#” to the first national character, rest is cut.
]]>Anyone else’s stop working? Tweets not refreshing & apparently haven’t been for weeks.
Tried revoking & recreating all my Twitter keys. No luck.
Any ideas?
P.S. I am using a w3 super cache as well as autoptimize.
]]>It appears that Simple Twitter Tweets is always displaying replies, even if the Exclude_@replies checkbox is checked in the settings. This is problematic, as twitter feeds do not make a whole lot of sense if replies are shown. Thanks!
]]>Hi Friends, in validating the w3c out the following errors:
https://validator.w3.org/nu/?doc=site-with-simple-twitter-tweets
Error: No space between attributes.
” height=”48px”src=”https://pbs
FIX :
Edit on simple-twitter-tweets.php Line 545 :
Change : echo ‘src=”‘.$t[‘image’].'” alt=”‘;
To :
echo ‘ src=”‘.$t[‘image’].'” alt=”‘;
Other Error W3C :
Error: Bad value 48px for attribute width on element img: Expected a digit but saw p instead.
Thanks
]]>Hello!
I’m using your plugin to have a nice twitter feed on a clients website. However, their tweets mostly contain photo’s and the photo’s are not displaying in the simple twitter tweets plugin. Is there a way to do this or is it not possible with the plugin?
Thanks in advance!
Cheers,
Selina
Hello, the tweets formatting get displayed in a very “un-formatted” way, with lots of line breaks everywhere in the widgets area when I use this plugin. Is there a way to fix this?
Thanks. Below are are some examples.
Also is there a way to pull the profile picture of the person posting to display it?
Quaff ON! Brewing Co ?@QuaffONBrewing 2h2 hours ago
Quaff-Fact #6,731: Chama can play "Twinkle, Twinkle Little Star" on the accordion, but he has to be in a Ziggy Stardust costume.
Displays as:
RT
@QuaffONBrewing
: Quaff-Fact
#6
,731: Chama can play "Twinkle, Twinkle Little Star" on the accordion, but he has to be in a Ziggy Stardust costume.
7h
Another example:
34th St. Partnership ?@34thStNYC 44m44 minutes ago
Have you ever heard accordion led punk music? Don't miss klezmer folk punk band @golemrocks Tues, 6pm, at #OnePennPlaza for #LiveatPennPlaza
Displays as:
RT
@34thStNYC
: Have you ever heard accordion led punk music? Don't miss klezmer folk punk band
@golemrocks
Tues, 6pm, at
#OnePennPlaza
for
#LiveatPennPlaza
7h
]]>
Hi,
I need to change AGO word with Turkish word. Because that is showing english and turkish mix ?? For example “1 sene ago” Sene is Turkish.
Hi,
I can’t change the number of tweets. It always shows 2 tweets no matter what number I enter.
Can you help?
]]>Hello,
I wanted to use simple-twitter-tweets with visual composer.
Also managed to get a shortcode for this plugin but nothing is shown on my homepage.
Please help! Why is this?
Thanks a lot!
Hello,
I am getting the message:
“Waiting for Twitter… Once Twitter is ready they will display my Tweets again.”
Is this a result of a server problem unrelated to the widget? Or is it that I didn’t put some information in?
For example, I didn’t put in the API info.
Thanks!
]]>Hi,
Textdomain is missing on two strings, line 190 (‘Make widget title link’) and line 571 (‘%2$s%1$s’).
Thanks.
]]>Hello. In your changelog for your 4.0 version it says:
[Added] Internationalisation (i18n) – Ready for impending WP [theme and plugin] Language packs. All interface text marked up ready for translations
This does not work however. The interface text is indeed marked for translation but some of the code required by WordPress to enable localization is missing and the plugin won’t even look at the translations and is thus incapable of showing them.
This can be fixed by adding:
function my_plugin_load_plugin_textdomain() {
load_plugin_textdomain( 'simple-twitter-tweets', false, dirname(plugin_basename(__FILE__)) . '/languages/' );
}
add_action( 'plugins_loaded', 'my_plugin_load_plugin_textdomain' );
to the end of the plugin. (props: Václav Slavík).
Now WordPress loads the translations as it should.
Cheers and thanks for the plugin!
]]>Hello,
Please help me my blog not showing the latest tweets from my tweeter.
I create 3 time new application but it still not showing the the latest tweets.
Kindly do check this Image…!
https://screencast.com/t/thUqdNEd4wd
There was a mention here of people having strange timestamp issues (new tweets show 7 hours ago, then hours go down).
One thing that I’ve been able to do to fix this: Going to Settings -> General, and changing my timezone to UTC. If I use my city name, or UTC-7, etc., I still have an issue. This definitely doesn’t seem to affect all users, and I used a widget from another developer and had the same exact issue. At least this pins it down on WordPress settings and not php/server/Twitter time (in my opinion).
Is there some code that can be added (I would volunteer to update my site to try it out) to fix this? Maybe a settings box programmed to use UTC in lieu of whatever WordPress timezone settings are? It would seem that since changing WordPress time fixes this for me, the widget is using that time in some fashion. Thanks!
]]>Is there a way to display small images/thumbnails from the Twitter feed instead this ugly links https://t.co/BCcasdasdad?
Thanks
After I installed your plugin today, I noticed the avatar in Sexy Author Bio was pushed to the right, overlapping with some text. I traced this to the use by both plugins of the .avatar class. I fixed the conflict on my site by adding these lines to my custom CSS:
.avatar {margin-left: 0px;}
.tweets .avatar {margin-left: 53px;}
You can avoid this conflict in future versions of your plugin by using “.tweets .avatar” in your CSS instead of just “.avatar”.
]]>I recently switched from WP Twitter Feeds because it wasn’t updating my tweets. Upon installation of Simple Twitter Feeds, it still picked up the old one that WP Twitter Feeds was stuck on!
I cleared all caches (for me that’s browser and cloudflare). I also made sure the old plugin files were deleted. I deleted and reinstalled Simple Twitter Feeds again and still got the same result, the tweet that won’t die.
I’ve had several tweets since then, some sent on twitter itself, some that came in through Linkedin and/or using Hootsuite (none of this should matter, right?)
I also tried to change the no. of tweets to display, nope, no change. Waited more than the plug-in cache time setting to refresh, no change.
I’m thinking there’s something stuck in a database table somewhere, can you tell me where to nuke this old tweet under the hood, or any other ideas? Would it be the same database location that the other plugin used too? seems odd it would grab the same old tweet (I have maybe 6 or 8 that are more recent).
Thanks, very much.
PS: It looks like a great plug-in, the clincher is the “follow me” button, perhaps enable an optional border around the widget for looks (I liked this on WP Twitter Feeds)
]]>Hi,
I made five pull requests just now which should not change anything for existing installs. I would also like the date link changed from linking to the user profile to instead linking to the individual tweet, which I feel is more in line with conventions, including on twitter.com.
One of the pull requests adds the option to make the widget title a link and with the follow button below I think it makes more sense for the dates to link to the individual tweets.
Another fixes a bug where $permalink was not set correctly, but wasn’t noticed because $permalink is never called. Naturally, this will need to be accepted before making the date link change.
Let me know what you think. It could be done as an option, but I think that’s overkill and it really should just link to the individual tweet. There’s only one line to change so I can do it quickly for you.
]]>Hi,
I wanna display Twitter tweets only (with no replies). Is it possible?
In Twitter API Settings I did selected Exclude_@replies, which I thought will work for this, but it doesn’t.
Hi,
given a hashtag with “non-characters” in it, the plugin fails to create the right link. For example the german #Flüchtlinge (refugees) will lead to a #Fl hashtag.
I thought about not filtering the allowed characters (regex: [A-Za-z0-9-_]+) but negate filtering non-allowed characters (regex: [^ !$%^&*+.,:;]+). This works but I can’t oversee all the implications.
Nevertheless I would like to see a fix for this issue upstream.
Thanks & Bye
]]>Does your plugin have a [shortcode] capability for embedding in pages rather than implementing it as a sidebar widget?
]]>Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct() instead.
This is the message popping up – unfortunately have had to deactivate the plugin in order for my site to work. I really like this plugin – I hope a fix is on the way! ??
]]>Hi,
Plugin looks great – couple of questions.
1. Does it support multisite? i.e. I create a twitter app and store it on the network admin, then all sites can you use that (rather than each site owner having to create an app)
2. Can it display all tweets containing a specific hashtag, or is it just those tweets from the logged in user?
Thanks!
Alex
]]>Hi, I am trying to use your plugin and create an app from twitter for our new twitter account.
I get this error: Why is creating an app abusive behavior??
Error
We protect against potentially abusive behavior. Your request has been rejected for now. Please try again later or contact Platform Operations through https://support.twitter.com/forms/platform.
Any suggestions???
Patrice
]]>Hello,
I have to choose a plugin to embed a twitter stream into a website based on WordPress 4.1. Can you tell me if your plug-in is compatible with WordPress 4.1?
Do you know if there is some negative interaction with some other plugin or theme? I am using GENERATE PRESS theme plus MetaSlider and Photo Gallery plug-ins.
All the best,
Marco