• Resolved rebob987

    (@rebob987)


    Been using Post Expirator for years now. All of a sudden none of the posts are expiring when I set them to delete. I get this:
    Warning: Invalid argument supplied for foreach() in /home/n11hot5/public_html/wp-content/plugins/post-expirator/post-expirator.php on line 1300

Viewing 8 replies - 1 through 8 (of 8 total)
  • What version of the plugin are you using? Also, what does the debug log show? Is WP-Cron enabled and available on your server?

    Thread Starter rebob987

    (@rebob987)

    Version: Version 2.3.1.1

    Debugging table is currently empty.

    Are you speaking of using the wp-cron as a virtual cron for WordPress? If so that is enabled on the server.

    Thread Starter rebob987

    (@rebob987)

    None of the posts are making it to Delete or Drafts after they reach their specified date. This never happened before. It worked smoothly for years. The site really has nothing new installed on it that would cause an issue with the plug in.

    Can you turn on the debug log, and then make an new post that is set to expire right away to see what happens?

    Thread Starter rebob987

    (@rebob987)

    It’s weird. When I change the time to delete about 2 minutes from now (11:22 AM EDT). Save the post, and then it changes the delete time to 12:05 PM EDT.

    • This reply was modified 7 years, 7 months ago by rebob987.
    Thread Starter rebob987

    (@rebob987)

    Ok..I managed to get a test post up. I set it to Draft, and when it expired, it never set it to Draft or Delete. Here is the logs:

    2017-07-19 11:37:16 5436 -> SCHEDULED at Wed, 19 Jul 2017 15:39:00 +0000 (1500478740) with options Array ( [expireType] => draft [id] => 5436 )
    2017-07-19 11:33:30 5436 -> SCHEDULED at Wed, 19 Jul 2017 15:35:00 +0000 (1500478500) with options Array ( [expireType] => draft [id] => 5436 )
    2017-07-19 11:33:22 5436 -> SCHEDULED at Wed, 19 Jul 2017 15:33:00 +0000 (1500478380) with options Array ( [expireType] => draft [id] => 5436 )
    2017-07-19 11:31:05 5429 -> SCHEDULED at Tue, 18 Jul 2017 16:05:00 +0000 (1500393900) with options Array ( [expireType] => delete [id] => 5429 )
    2017-07-19 11:30:49 5429 -> SCHEDULED at Tue, 18 Jul 2017 16:05:00 +0000 (1500393900) with options Array ( [expireType] => delete [id] => 5429 )
    2017-07-19 11:18:56 5429 -> SCHEDULED at Tue, 18 Jul 2017 16:05:00 +0000 (1500393900) with options Array ( [expireType] => draft [id] => 5429 )
    2017-07-19 11:18:28 5429 -> SCHEDULED at Tue, 18 Jul 2017 16:05:00 +0000 (1500393900) with options Array ( [expireType] => draft [id] => 5429 )
    2017-07-19 11:16:25 5429 -> SCHEDULED at Tue, 18 Jul 2017 16:05:00 +0000 (1500393900) with options Array ( [expireType] => draft [id] => 5429 )
    2017-07-19 11:13:23 5429 -> SCHEDULED at Tue, 18 Jul 2017 12:05:00 +0000 (1500379500) with options Array ( [expireType] => delete [id] => 5429 )

    Thread Starter rebob987

    (@rebob987)

    Well. It looks like you have no answer. No problem. We went to another plugin that is more stable. We have been using your plug in for years. After you updated it, it no longer worked for our website. Oh well. Good luck!

    • This reply was modified 7 years, 7 months ago by rebob987.

    Good luck with the other plugin! Please keep in mind that most plugin authors have full time jobs, and just offer up plugins for free to better the community. Sorry we cannot always offer immediate feedback!

    If you are still interested in making this plugin work – can you confirm that the timezone is set correctly on your wordpress instance? What happens if you revert to version 2.2.2, do you have the same behavior?

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