• Resolved davidki

    (@davidki)


    Hello,

    I want to thank you for your great plugin.

    I found a bug in deletion of expired transients.

    On my website I use foreign exchange rates from European central bank, which recalculate price of products from countries other than mine country.

    For these rates I use transients for caching.

    These transients have expiration 6 hours and 24 hours.

    When the transients expired, actual exchange rate from European central bank is downloaded and so the prices of products are always actual on my website and exchange rate is again stored as transients and everything works well.

    But problem occurs when I set “Delete expired transients” in your plugin.

    After the transients expired, they are “Expired”. See the screenshot https://www.screencast.com/t/sdtW4BHi9pJx

    After the transients are deleted with your plugin, the transients suddenly are like “Does not expire”. See the screenshot https://www.screencast.com/t/09QJoHs1g

    And because of transients does not expire, I have no more actual data from European central bank on my website.

    I think deleting anything should mean that it just gets completely removed. And not that the status changes to “Does not expire”.

    Please, can you fix it?

    Thank you,
    David

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor cageehv

    (@cageehv)

    Hey David,

    Thanks for your compliments and feedback!

    I’m not sure where you see the ‘Does not expire’…

    Do you see it in the database?

    Rolf

    Thread Starter davidki

    (@davidki)

    I use this plugin https://cs.wordpress.org/plugins/transients-manager/.

    It shows “Does not expire” state after deletion with your plugin for such transients.

    Plugin Contributor cageehv

    (@cageehv)

    Hey David,

    Thanks for the reply.

    My plugin doesn’t put the ‘Does not expire’ state there.

    If you click the ‘Delete expired transients’-button in the Transients Manager plugin, does that give the result you want?

    Rolf

    Thread Starter davidki

    (@davidki)

    Hey Rolf,

    It’s not about “Does not expire” state, which is probably from Transients Manager plugin and it shows that transients which were expired have not been deleted properly.

    I found this bug before I installed plugin “Transients Manager” which only confirmed that something is wrong with your plugin regarding deleting expired transients.

    So when I, in your plugin, select “Do not delete transients” everything works great. And after expiration of transients another ones are created and data are updated.

    But when I, in your plugin, select “Delete expired transients”, updating of my data stops! After expiration of transients, new ones are not created and the data stops updating.

    So problem is somewhere in your plugin.

    When I click on the red “Delete” in the Transients Manager plugin, transients are properly deleted and my functions create new ones transients and everything works well (until your plugin delete this transients after their expiration).

    Right now I can’t tell if the button “Delete expired transients” in the Transients Manager plugin works as well, because my transients have 24 hours of expiration.

    So I can test it and write you tomorrow, if you think that it is really important information for you.

    I think it’s absolutely clear that problem is somewhere in your plugin and it’s “Delete expired transients” function.

    David

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

    (@davidki)

    Hey Rolf,

    I tested it and now I can confirm, that even button “Delete expired transients” in the Transients Manager plugin properly delete expired transients and everything works well.

    But deleting expired transients with your plugin just do not work properly!

    Please, try to fix it. Otherwise your plugin is very needed.

    Thank you,
    David

    • This reply was modified 5 years, 7 months ago by davidki.
    Plugin Contributor cageehv

    (@cageehv)

    Hey David,

    I just released v4.8.2 of my plugin, which should fix your problem.

    peace,
    Rolf

    Thread Starter davidki

    (@davidki)

    Thank you, Rolf.

    Now it works great,

    David

    Plugin Contributor cageehv

    (@cageehv)

    Hey David,

    Good to hear that the problem has been solved.

    Thanks for your feedback!

    peace,
    Rolf

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unfunctional deletion of expired transients’ is closed to new replies.