Listings continue expiring even after setting all expirations to 100 years

I have been having this issue since inception of my website. Every 30 days, no matter what expiration I set, the listings turn to draft mode after 30 days, period. I have posted about this on multiple occasions and every time someone says that there is no default expiration and if I am still having issues, to set the expiration to 100 years.

I am starting to get more and more listings and every 30 days they expire, requiring me to go in manually and republish each one. This is a HUGE problem I need it fixed right away. I cannot keep doing this.

It doesn’t matter whether they are a paid or free membership, they expire, which means I have people paying 50 a month to post their ad, yet their add expires in 30 days and has to be republished. It is causing many issues, and it makes it so I cannot scale my website because I cannot go in manually and change hundreds or thousands of listings.

Hi,

Please provide screenshots of the settings that are specified or not specified for listing expiration:

  1. Please go to WP Dashboard > Listings > Edit listing > and provide a screenshot of the Expiration Date field.

  2. Please go to WP Dashboard > HivePress > Settings > Listings > Expiration Period > and provide a screenshot of the Expiration Period field.

  3. Please go to WP Dashboard > Listings > Packages > Edit package > and provide a screenshot of the Listing Expiration field.

This will help us to provide you with more details regarding this issue.


Screenshot 2024-02-27 at 8.29.29 AM

Hi,

Please go to WP Dashboard > Listings > Edit listing > and provide a screenshot of the Expiration Date field.

This is one that continues to expire every 30 days.

Hi,

We checked this issue from our side, and it seems okay. Please note that if there were no additional actions, and you added the listing after these settings, the screen should not contain an empty date, but a date greater than 100 years (or the number you specified in days). You can view the function where there is a clear condition that the expiration date is in the past and up to now, and if the date is empty, then it cannot simply expire hivepress/includes/components/class-listing.php at master · hivepress/hivepress · GitHub. Please retest with the new listing.

Okay, I will keep an eye on it and see. Maybe there were remnants of the old settings in there and they just needed time to clear. I will check again in 22 days. Thank you

Still have listings expiring. I just had 3 expire on March 7th, that were supposed to be 100 years before expiring… And now all of the listings have an expiration date of March 24th. Clearly something is not working properly.

Hi,

Please note that if the Expiration Date field in a listing is empty, the listing cannot expire. Could you please provide more details, what is the date you have indicated when you open the listing or do you have an empty field there?

Okay this is getting ridiculous. I already know this. I am not going in and putting dates. In fact, I have removed the dates from each listing on multiple occasions and then a few days later, they show up again. I have already given you all the insight I have. I have followed every step possible to get this working but it just won’t work. All of my listings continue expiring.

Sorry for the inconvenience. We have to understand how to reproduce the bug first, and currently there are no similar reported issues. Those that were reported previously were always related to specific website settings, cache or customizations because there’s a strict condition in the code - if the listing has no value in the Expiration Date field, it just can’t expire, it’s impossible unless there are third-party reasons.

If you set a 100-year expiration period for packages, then listings added via this package will have a date 100 years from today in the Expiration Date field. They also can’t expire earlier, I can try to add a test listing if you send a temporary WP access (adding it via front-end via the package, and via back-end to compare the Expiration Date and then wait if they expire on their own), but I’d follow the same steps as suggested by Andrii.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.