• We’re not sure since when, but the publicize feature isn’t working for Scheduled Posts. It works fine for normal published posts, but something is wrong with scheduled ones.

    I tried a scheduled post from https://wordpress.com/posts/www.domain.me as well without any luck.

    These blogs are on a MU installation, I tried so far:

    • Upgraded to the most recent version
    • Reconnecting the blog to Jetpack already.
    • Reconnecting the social media accounts, but these work on normal Published posts.
    • Checked crons., there’s a small delay on the scheduled part, but we have enabled the “WP Missed Schedule” plugin, it was working before.

    I also:

    checked for access using
    curl -A "Jetpack by WordPress.com" -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'https://www.domain.me/xmlrpc.php' && echo

    And the response was good, from my server.

    Then I tried adding these filters:

    add_filter( 'jetpack_sync_listener_should_load', '__return_true' );
    add_filter( 'jetpack_sync_sender_should_load', '__return_true' );

    But not luck either.

    Could it be related to: https://github.com/Automattic/jetpack/issues/5149 in some way?

    Thanks,
    -Luis

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Ryan C.

    (@ryancowles)

    Hi Luis! Thanks for the report, and thanks for following those troubleshooting steps.

    Checked crons., there’s a small delay on the scheduled part, but we have enabled the “WP Missed Schedule” plugin, it was working before.

    Could you try temporarily disabling all other plugins before publishing your next scheduled post? Then, see if the issue persists. If it does, could you provide me with a link to a post that didn’t Publicize as expected? Then I’d be happy to investigate further.

    Just let me know about the above, and we can go from there. Thanks!

    Thread Starter luigitec

    (@luigitec)

    Hello Ryan,

    I noticed in some related support posts that the culprit may be the WP Missed Schedule plugin, I do have that plugin network activated.

    But, I also have a custom cron, we deactivated the core Cron with define('DISABLE_WP_CRON', true);

    Our cron runs every minute and for publishing scheduled posts we rely on the WP Missed Schedule plugin in order to fix the posts from not publishing on the correct time.

    This is the link to the WP Missed Schedule repo: https://github.com/sLaNGjI/wp-missed-schedule.

    We re-enabled the Core Cron and the scheduled posts started publicizing again, what should I do in order to have my custom cron working (linux) and have keep disabled the Core Cron, since the DB’s CPU skyrockets.

    On our custom cron, we pretty much get 10 blogs and for each one of them do:

    $url = “https://{$blog->hostname}/wp-cron.php”;
    @file_get_contents($url);

    As I previously mentioned, I do have these lines on our Theme function.php

    add_filter( 'jetpack_sync_listener_should_load', '__return_true' );
    add_filter( 'jetpack_sync_sender_should_load', '__return_true' );

    Thanks in advance!

    Hello, I’m having same issue…I added those two lines in my functions.php

    
    add_filter( 'jetpack_sync_listener_should_load', '__return_true' );
    add_filter( 'jetpack_sync_sender_should_load', '__return_true' );
    

    and I realized that the problem is only with posts created previously, this is, for example, if I create one post, save it as draft, and after that, I schedule it, then publicize doesn’t work. But I just tried creating new post from scratch, and it’s shared properly in social networks.

    So I think the bug is only for posts created previously.
    Best regards

    Plugin Contributor Ryan C.

    (@ryancowles)

    @luigitec: Sorry for the delay! It looks like this thread fell through the cracks on my end. Can you try using our beta plugin? You can find a download link and instructions here:
    https://jetpack.com/download-jetpack-beta/

    The beta plugin includes some fixes our developers have been working on for these kind of reported issues. As a result, using it should likely cause these problems to be resolved.

    Once you install and activate the beta plugin, go to Jetpack -> Jetpack Beta and choose “Tagged Beta Releases” and make sure the “Auto-Update Jetpack when new betas are available” is checked and click the “Save my choice” button.

    After you’ve installed it, can you let me know if any of your current issues persist? If they do, please reply back and we can dive back into the problem.

    Once we have a new release of Jetpack that addresses these problems, you can deactivate and delete this plugin.

    Please let me know about the above, and we can go from there!

    Thread Starter luigitec

    (@luigitec)

    Hello Ryan,

    Thanks for your response, I enabled the Jetpack Beta plugin and updated to 4.3.2-beta1, but it’s still not working. The “Missed Scheduled” post does publish the entry but the entry doesn’t get published on any of the connected social networks.

    We published several posts on different times, none of them worked, no error logs were created either.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @luigitec Since the problems disappear when you revert to WordPress’ default Cron system, it might be worth trying that again, and using a plugin like this one to make changes to the different scheduled tasks to fit your needs, and avoid CPU spikes.

    Let us know how it goes.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Publicize isn’t working for scheduled posts’ is closed to new replies.