Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Suddenly getting the below error message on my site's twitter block... all was working fine until yesterday... nothing changed on my site and no new tweets were posted... just suddenly appeared.
Any ideas?
Notice: Trying to get property of non-object in twitter_block_preprocess_twitter_block_tweet() (line 246 of .../sites/all/modules/twitter_block/twitter_block.module).
Notice: Trying to get property of non-object in twitter_block_preprocess_twitter_block_tweet() (line 247 of .../sites/all/modules/twitter_block/twitter_block.module).
Notice: Trying to get property of non-object in twitter_block_preprocess_twitter_block_tweet() (line 247 of .../sites/all/modules/twitter_block/twitter_block.module).
Notice: Trying to get property of non-object in twitter_block_preprocess_twitter_block_tweet() (line 248 of .../sites/all/modules/twitter_block/twitter_block.module).
Notice: Trying to get property of non-object in twitter_block_preprocess_twitter_block_tweet() (line 248 of .../sites/all/modules/twitter_block/twitter_block.module).
Comments
Comment #1
zerorez CreditAttribution: zerorez commentedI see it too. I just noticed the same thing starting at some point today.
Was something changed on Twitter's end?
Comment #2
Alan D. CreditAttribution: Alan D. commentedThis sounds related to #1842134: Bad Authentication data / Error code 215 which appears to be now fixed, aka an issue with the Twitter servers. This has caused us to insert another couple of checks in the custom code that we wrote, as it bought down two sites (trying to access a property on NULL value).
So the issue would be difficult to mimic now these are working, but a check on the property internally is probably recommended in case this happens again.
Comment #3
stevensunsunsun CreditAttribution: stevensunsunsun commentedSubscribe
Comment #4
Alan D. CreditAttribution: Alan D. commentedmmm.. has twitter api broken again? getting nada again on multiple feeds.
Comment #5
nando09 CreditAttribution: nando09 commentedsubscribe
Comment #6
Devin Carlson CreditAttribution: Devin Carlson commentedWith the Twitter API v1 going away (see #1933164: Twitter API v1 is going away on May 7) Twitter Block 1.x will no longer function after June 11, 2013. A new 2.x version of Twitter Block has been released (see the release notes) which utilizes Embedded Timelines.
As Twitter Block 2.x uses a different API and shares little code with the Twitter Block 1.x, existing issues no longer apply.