• Resolved r0bb01

    (@r0bb01)


    Hi,

    Auto post stopped working yesterday. I’ve tried disabling and enabling and having checked the log I see this:

    2015-02-05 04:35:27 – Notice! APS enabled but ‘aps_auto_post_hook’ myseriously removed. Resetting…

    Also, the time is acting weird. Originally I had it set to post published custom post types every 3 hours, but to test the issue I set it to 120 seconds, updated it and now see the time as below:

    Current server time:2015-02-05 04:40:39 Europe/London
    Next auto post check:2015-02-05 04:35:37 Europe/London

    I have not made any changes to the site which could have effected things, only adding new posts.

    https://www.ads-software.com/plugins/auto-post-scheduler/

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

    (@johnh10)

    Hello,

    It sounds like something is messing with the hook and/or cron_schedules.

    Likely culprits and things to check:
    1) A misbehaving plugin. You said no changes to the site?
    2) Did you disable WP Cron in wp-config, changes to .htaccess or similar? Check your cron schedules by installing the plugin FFF Cron Manager. See if there are many cron events that haven’t fired.
    3) Are you on a shared host with limited memory? Do you have access to website logs to check for errors when loading WordPress?

    Thread Starter r0bb01

    (@r0bb01)

    Thanks for the suggestions.

    I have not installed any new plugins in the time it stopped working, but did update a couple.

    I’ve made no changes to wp-config, .htaccess or other.

    I installed FFF Cron manager and it shows as follows:

    2015-02-06 04:47:47 – 1423198067 -342 Auto Post Scheduler Check aps_auto_post_hook

    I am on shared hosting and had already increased the memory limit. There doesn’t appear to be any log files in my site files.

    Plugin Author johnh10

    (@johnh10)

    Do you remember the plugins updated?

    That cron entry shows WP-Cron is not being fired. Any chance your hosting provider has turned it off? (Some hosts do for performance reasons). Check your wp-config to see if the line
    define('DISABLE_WP_CRON', 'true');
    has been added.

    There should be lots more cron entries as well, many for WordPress. Do many of them also have negative time values? I’m assuming yes.

    You do have server logs somewhere, only on shared hosting I don’t know if your hosting provider makes them available to you or even separates the logs for each site.

    If you’re up for it you can turn on WordPress Debug mode which will print out any issues with any code to a log file. That might help pinpoint what’s going on.

    mylittlebird

    (@mylittlebird)

    Scheduled publish has not worked for our last two posts. I scheduled last night’s post at 23:34 EST Feb. 25 and when I looked for it this morning on Feb. 26, it had not published and I had to manually publish it. The same thing happened the night before. Can you advise?

    Plugin Author johnh10

    (@johnh10)

    In the future please start a new topic.

    That’s very little info to go on.

    Can you give a screenshot of your APS settings? Is there anything in the APS log file? Are you using WordPress cron or server cron? Both? Neither? If WordPress cron did your site get any traffic between those two times? Can you access your server logs for those times? etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Suddenly stopped working’ is closed to new replies.