Support » Plugin: Post Expirator » Posts not expiring

  • Cookie1974

    (@cookie1974)


    Hi,

    Nothing is expiring whether I set them to Delete, Draft or Change Category.

    Posts that are scheduled to Publish are publishing thanks to the WP Missed Schedule plugin listed below but anything set to Expire isnt doing so.

    Please can anyone guide me in setting this up to work correctly. I dont know what I am missing???

    Set up as follows:
    – WordPress 4.8
    – Plugins active (all up-to-date): Advanced Custom Fields PRO, Contact Form 7, Contact Form 7 – Dynamic Text Extension, Contact Form 7 Database, Duplicate Post, Essential Grid, Menu Image, Post Expirator, Use Any Font, What The File, WP Crontrol, WP Missed Schedule, WP-Cron Control
    – Custom Cron schedule for Every Fifteen minutes.
    – PHP5 Cron schedule set up on hosting and tested working.

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Cookie1974

    (@cookie1974)

    Debug Log:

    2017-06-22 11:53:26 74 -> SCHEDULED at Thu, 22 Jun 2017 11:00:00 +0000 (1498129200) with options Array ( [expireType] => category [id] => 74 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 11:53:26 74 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 11:45:10 74 -> SCHEDULED at Thu, 22 Jun 2017 11:00:00 +0000 (1498129200) with options Array ( [expireType] => category [id] => 74 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 11:45:10 74 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 11:44:59 74 -> SCHEDULED at Thu, 22 Jun 2017 10:20:00 +0000 (1498126800) with options Array ( [expireType] => category [id] => 74 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 11:44:59 74 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 11:12:20 74 -> SCHEDULED at Thu, 22 Jun 2017 10:20:00 +0000 (1498126800) with options Array ( [expireType] => category [id] => 74 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 11:12:20 74 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 11:12:02 74 -> SCHEDULED at Thu, 22 Jun 2017 10:20:00 +0000 (1498126800) with options Array ( [expireType] => category [id] => 74 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 11:02:11 71 -> SCHEDULED at Thu, 22 Jun 2017 10:03:00 +0000 (1498125780) with options Array ( [expireType] => category [id] => 71 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 10:41:22 71 -> UNSCHEDULED
    2017-06-22 10:36:42 71 -> SCHEDULED at Thu, 22 Jun 2017 09:40:00 +0000 (1498124400) with options Array ( [expireType] => category [id] => 71 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 10:27:06 48 -> SCHEDULED at Thu, 22 Jun 2017 09:29:00 +0000 (1498123740) with options Array ( [expireType] => delete [id] => 48 )
    2017-06-22 10:27:06 48 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:55:35 27 -> SCHEDULED at Thu, 22 Jun 2017 09:01:00 +0000 (1498122060) with options Array ( [expireType] => delete [id] => 27 )
    2017-06-22 09:55:35 27 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:55:18 48 -> SCHEDULED at Thu, 22 Jun 2017 09:00:00 +0000 (1498122000) with options Array ( [expireType] => delete [id] => 48 )
    2017-06-22 09:55:18 48 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:55:00 27 -> SCHEDULED at Thu, 22 Jun 2017 09:01:00 +0000 (1498122060) with options Array ( [expireType] => [id] => 27 )
    2017-06-22 09:55:00 27 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:54:50 48 -> SCHEDULED at Thu, 22 Jun 2017 09:00:00 +0000 (1498122000) with options Array ( [expireType] => [id] => 48 )
    2017-06-22 09:54:50 48 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:49:03 48 -> SCHEDULED at Thu, 22 Jun 2017 08:50:00 +0000 (1498121400) with options Array ( [expireType] => draft [id] => 48 )
    2017-06-22 09:49:03 48 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:48:49 48 -> SCHEDULED at Thu, 22 Jun 2017 08:48:00 +0000 (1498121280) with options Array ( [expireType] => draft [id] => 48 )
    2017-06-22 09:48:49 48 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:43:14 48 -> SCHEDULED at Thu, 22 Jun 2017 08:48:00 +0000 (1498121280) with options Array ( [expireType] => draft [id] => 48 )
    2017-06-22 09:43:14 48 -> EXISTING FOUND – UNSCHEDULED
    2017-06-22 09:42:52 27 -> SCHEDULED at Thu, 22 Jun 2017 08:45:00 +0000 (1498121100) with options Array ( [expireType] => category [id] => 27 [category] => Array ( [0] => 1 ) [categoryTaxonomy] => category )
    2017-06-22 09:42:52 27 -> EXISTING FOUND – UNSCHEDULED

    Plugin Author Aaron Axelsen

    (@axelseaa)

    It sounds like the host you are on does not support WP-Cron if you are also required to use the WP Missed Schedule plugin. Post Expirator relies on the WP-Cron process to actually carry out the scheduled events.

    Which hosting provider are you using? If you google around, there are several links out there an setting up alternative options to trigger the wp cron interface for hosts that have it disabled.

    Cookie1974

    (@cookie1974)

    Thank you @axelseaa for the quick reply!

    I am using Heart Internet to dev the site and (as you rightly say) a quick google shows that they indeed dont support WP-Cron 🙁

    A useful link is here for anyone stumbling across this thread: https://oikos.digital/2012/01/tech-notes-heart-internet-and-wordpress-wp-cron-job-scheduling/

    I will give the mentioned alternatives a go and if they fail I’ll look for a new host.

    Thanks again.

    Plugin Author Aaron Axelsen

    (@axelseaa)

    Good Luck! If you don’t get anywhere, and are seeking out other hosts drop me a message and I can assist there as well! http://thirstylemur.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Posts not expiring’ is closed to new replies.