Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author SudoCat

    (@sudocat)

    Hi, I’ve spent the past 2 and a half hours fighting with this myself, and I found that the issue was that the cron job did not have access to some of the wordpress admin functions it needed. To fix this, I added the following to the start of my twitter-posts-to-blog/functions.php

    require_once(dirname(__FILE__).'/../../../wp-load.php');
    require_once(dirname(__FILE__).'/../../../wp-admin/includes/admin.php');

    This enables the plugin to use the functions it needs, seems to be working fine for me.

    Thread Starter gdg161987

    (@gdg161987)

    Could you please post your functions.php ? The plugin won’t start when i put the code at the start.

    Hi, I have the same issue here. Could you please share your twitter-posts-to-blog/functions.php
    THanks!

    Hi Everyone,

    The fix from @sudocat works, so I’ve submitted a pull request to the git repo. In the meantime, you can use my fork to get autopost working again (you can see the full functions file there if you just wanna update it yourself) – https://github.com/nathansmonk/twitter-posts-to-blog

    Nath

    Plugin Author badbreze

    (@badbreze)

    Merget fix, thanks to @sudocat

    @nathansmonk wp-plugins repository on git is a read only mirror, thanks anyway.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto post fix’ is closed to new replies.