Home Forums Plugins Sales Countdown Timer Evergreen works erratically

Evergreen works erratically

  • Author
    Posts
  • #182874

    Hello,

    We have a problem with the evergreen Countdown option; it behaves erratically.

    First of all, we are using a version of the plugin that you gave me in another ticket: https://villatheme.com/supports/topic/countdown-evergreen-no-work/

    #177983

    The theme I am using is Flatsome, in its latest version 3.18.2.

    PHP 8.2

    WordPress 6.4.1

    The problem is that evergreen does not renew correctly on some occasions.

    There is no pattern, in some offers everything works perfectly, but in many others, it does not renew and deletes the offer price, leaving the regular price.

    This is a problem since all the items in the store have an offer, and all have evergreen activated.

    We have to find the offer price again and manually add it back to each offer that fails… a very tedious and time-consuming job.

    In the error_log file, I see a recurring problem with the plugin:

    [28-Nov-2023 02:40:49 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string – string in /home/xxxxx/aprendemus.aldryn.es/wp-content/plugins/sctv-sales-countdown-timer/includes/countdown-schedule.php:217
    Stack trace:
    #0 /home/xxxxx/aprendemus.aldryn.es/wp-content/plugins/sctv-sales-countdown-timer/includes/countdown-schedule.php(183): VI_SCT_SALES_COUNTDOWN_TIMER_Cron->sctv_schedule_remove_sale_product()
    #1 /home/xxxxx/aprendemus.aldryn.es/wp-includes/class-wp-hook.php(324): VI_SCT_SALES_COUNTDOWN_TIMER_Cron->sctv_schedule_remove_sale_products()
    #2 /home/xxxxx/aprendemus.aldryn.es/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /home/xxxxx/aprendemus.aldryn.es/wp-includes/plugin.php(565): WP_Hook->do_action()
    #4 /home/xxxxx/aprendemus.aldryn.es/wp-cron.php(191): do_action_ref_array()
    #5 {main}
    thrown in /home/xxxxx/aprendemus.aldryn.es/wp-content/plugins/sctv-sales-countdown-timer/includes/countdown-schedule.php on line 217

    I don’t understand much but I see: “VI_SCT_SALES_COUNTDOWN_TIMER_Cron->sctv_schedule_remove_sale_products()”

    It seems to be the problem I have, that it deletes the offer price.

    Can you help me with this?
    First, I need the evergreen to automatically renew forever, obviously ๐Ÿ™‚

    Secondly, in case of a failure, it should not revert to the regular price, but maintain both the regular and offer prices. Deleting the offer price is not good for us ๐Ÿ™‚

    Thank you very much!!

You must be logged in to see replies to this topic. Click here to login or register