• Puneet

    (@puneet234)


    Hi,
    A few days ago I installed the WP-Rocket plugin on my website after activation
    plugin display

    Current server time:2020-11-27 10:36:04 Asia/Kolkata
    Next auto post check:2020-11-27 10:34:51 Asia/Kolkata

    This was because of cron job, I think but not sure.

    So now i have removed define(‘DISABLE_WP_CRON’, true); from wp-config.php file.
    Now the cron is run correctly but the plugin is not republishing old pages, why?

    Thank You

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

    (@johnh10)

    Turn on debug mode and you can see if APS is being triggered correctly and what it is doing with your set parameters.

    Thread Starter Puneet

    (@puneet234)

    I have activated debug mode on the website and found some errors in other plugins which I have fixed successfully. No any issue found on the website and in APS. What I do next?

    Plugin Author johnh10

    (@johnh10)

    APS has a debug mode setting. Turn that on and run APS. Debug info will appear in the log.

    Thread Starter Puneet

    (@puneet234)

    This is showing after activate debug in APS, but unable to understand is there any issue or not.

    2020-12-01 20:57:00 – DEBUG: aps_auto_post_hook triggered, looking for eligible posts…
    2020-12-01 20:57:00 – DEBUG: eligible posts WP_Query Array ( [posts_per_page] => -1 [cat] => [author] => [post_type] => Array ( [0] => page ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => publish ) [order] => ASC )

    2020-12-01 21:06:59 – DEBUG: aps_auto_post_hook triggered, looking for eligible posts…
    2020-12-01 21:06:59 – DEBUG: eligible posts WP_Query Array ( [posts_per_page] => -1 [cat] => [author] => [post_type] => Array ( [0] => page ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => publish ) [order] => ASC )

    Plugin Author johnh10

    (@johnh10)

    From your log my guess is you have tons of posts and WordPress is running out of memory trying to search them all.

    Thread Starter Puneet

    (@puneet234)

    Yes,
    You are true I have memory issue which is 256 MB. So if I increase to 512MB then it should be work?
    Let me tell you what happened after memory limit increase.

    Plugin Author johnh10

    (@johnh10)

    I don’t know your server setup or number of posts so I don’t know. The premium version WP Auto Poster uses a completely different code to try and avoid this issue.

    Thread Starter Puneet

    (@puneet234)

    My website is hosted on Digitaocean Ubuntu v18.0 and Nginx web server.

    Number of posts is more then 1100 for recycling.

    Let me try to fix this issue otherwise I will move in premium.

    • This reply was modified 3 years, 12 months ago by Puneet.
    Thread Starter Puneet

    (@puneet234)

    Hey @johnh10,

    Thank you very much for your support I have successfully fixed this problem.

    Now all things are working fine. Your response is tremendously fast and helpful. Keep it up!

    Thank You

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not republish Page, cron is running correctly’ is closed to new replies.