• Resolved Kudutalk

    (@kudutalk)


    WP to Twitter is not working any more. It is hard to point the root cause.
    The problem only occurs with syndicated feeds (feedwordpress plugin).
    Manual posts and updates seem to work fine.

    What has changed:
    WP upgrades to 3.1 and to 3.2
    (no check if it worked with 3.1)

    debug.log is pretty loaded, also with other messages from other plugins, that I filtered here:

    debug.log:
    //I guess at this moment a new post was published, that triggered the next errors in debug.log
    [06-Jul-2011 07:30:16] PHP Notice: Undefined index: _jd_twitter in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 560
    [06-Jul-2011 07:30:16] PHP Notice: Undefined index: originalaction in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 567
    [06-Jul-2011 07:30:16] PHP Notice: Undefined variable: newpost in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 574
    [06-Jul-2011 07:30:16] PHP Notice: Undefined variable: oldpost in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 574
    [06-Jul-2011 08:19:46] PHP Notice: Undefined index: post-published-update in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter-manager.php on line 181
    [06-Jul-2011 08:19:46] PHP Notice: Undefined index: post-edited-update in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter-manager.php on line 183
    [06-Jul-2011 08:19:46] PHP Notice: Undefined index: jd_twit_blogroll in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter-manager.php on line 191
    [06-Jul-2011 08:19:46] PHP Notice: Undefined index: comment-published-update in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter-manager.php on line 193

    [06-Jul-2011 08:21:27] PHP Notice: Undefined index: _jd_twitter in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 560
    [06-Jul-2011 08:21:27] PHP Notice: Undefined index: originalaction in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 567
    [06-Jul-2011 08:21:27] PHP Notice: Undefined variable: newpost in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 574
    [06-Jul-2011 08:21:27] PHP Notice: Undefined variable: oldpost in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 574

    [06-Jul-2011 08:23:06] PHP Notice: Undefined variable: description in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 925
    [06-Jul-2011 08:23:36] PHP Notice: Undefined index: prev_status in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 567
    [06-Jul-2011 08:23:36] PHP Notice: Undefined variable: newpost in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 574

    [06-Jul-2011 08:23:39] PHP Notice: Undefined variable: hashtags in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 833
    [06-Jul-2011 08:23:39] PHP Notice: Undefined variable: thisaccount in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 263
    [06-Jul-2011 08:23:39] PHP Notice: Undefined variable: thisaccount in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 283

    [06-Jul-2011 08:23:40] PHP Notice: Undefined variable: description in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 925

    //this is logged very regularly (every 30 mins, several times), don’t know what it is triggered by:
    [06-Jul-2011 00:10:09] PHP Notice: Undefined offset: 0 in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 513
    [06-Jul-2011 00:10:09] PHP Notice: Trying to get property of non-object in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 513
    [06-Jul-2011 00:10:09] PHP Notice: Undefined variable: category_ids in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 518
    [06-Jul-2011 00:10:09] PHP Notice: Undefined index: code in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/functions.php on line 33
    [06-Jul-2011 00:10:11] PHP Notice: Undefined index: code in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/functions.php on line 33
    [06-Jul-2011 00:10:11] PHP Notice: Undefined index: long-url in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 455
    [06-Jul-2011 00:10:11] PHP Notice: Undefined variable: thisaccount in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 263
    [06-Jul-2011 00:10:11] PHP Notice: Undefined variable: thisaccount in /home/kudutalk/kudutalk.com/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 283

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    All errors you’re pointing to are notices; that’s a clean-up project for sometime down the road, but does not have any impact on the functioning of the plug-in.

    The plug-in doesn’t publish with FeedWordPress most likely because FeedWordPress doesn’t use the publish_post action to create posts. If you want it to, it’s likely that FeedWordPress uses the wp_insert_post action (although I don’t know this for sure.)

    Add to wp-to-twitter.php:

    add_action( 'wp_insert_post', 'jd_twit', 12 )

    That may have the desired effect, although I can’t guarantee it.

    Thread Starter Kudutalk

    (@kudutalk)

    Thanks for your fast feedback!

    Unfortunately it doesn’t work. I spent too much time yet in trying different options…

    I finally set up a new test site, only WordPress, feedWordPress, and WP to Twitter: also no result. Manual is ok. Syndication doesn’t tweet.

    I don’t know why, it might be related to FWP settings, maybe resulting in different “post” triggers as you describe.

    I tried with more add_action types, also no result:
    add_action( ‘wp_insert_post’, ‘jd_twit’, 12 );
    add_action( ‘publish_post’, ‘jd_twit’, 12 );
    add_action( ‘update_syndicated_item’, ‘jd_twit’, 12 );

    Any idea?
    Joe, I will send you the login details to the test website, feel free to experiment if it can be of any help for you too?

    Regards,
    Peter

    Plugin Author Joe Dolson

    (@joedolson)

    Thanks for that access – glad we were able to fix this. (For any others reading, an updated version will come out soon which resolves this issue.)

    This just happened to me, last TWO posts haven’t been posted on twitter. I have the latest version of wordpress and WP to Twitter. Some help?

    Same here…. Still no publishing with wp-to-twitter with FeedWorldPress posts!

    Is there any chance a working solution will be available soon?

    NOT RESOLVED

    Latest version wp 3.2.1. WP-to-twitter 2.3.7 does not function with FeedWorldPress posts.. test message to twitter is possible but the FWP posts are not tweeted!

    WP to Twitter is not posting. I have WP 3.2.1 and 7 WP sites running, all with reset OAuth codes from Twitter developers page and no Tweets. When the first site was set up in Early November, the blog posts were hitting that twitter page, but only 18 tweeted, and then the link broke. on that site there are now hundreds of Blog posts and still only 18 tweets. on all other 6 blogs, no even test posts are tweeting through to twitter. HELP!!!!!

    I’m having the same problem… using WP to Twitter version 2.4.4 and FeedWordPress version 2011.1019. Regular posts go to Twitter just fine, test works fine, but when we publish syndicated posts, nothing goes to Twitter. We have FWP set to “Hold syndicated posts for review; mark as Pending” and “Permalinks point to: The copy on the original website” and “Posts from aggregator feeds: Give the original source of the post as the source, not the aggregator.”

    I have tried the add_action suggestions above, to no avail.

    Anybody have ideas?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WP to Twitter not tweeting’ is closed to new replies.