• xurxomatic

    (@xurxomatic)


    Hello!

    We have installed your plugin on a WordPress with WooCommerce and everything worked normally for a long time and until a week ago. Since that time, we have started to notice crashes on the website. When reviewing the running processes, we see that the WooCommerce Price Based on Country plugin launches tasks through the scheduler that run normally. Each of those processes has a unique identifier, of course.

    However, after a while, it starts launching the same process repeatedly. The processes cannot complete and end up saturating the server. This forces us to kill the processes to get the site up and running again.

    Is it possible that this is related to the latest plugin update, or to the latest WordPress update?

    We would like to know if you have detected cases similar to ours.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    What’s the name of the process? Do you have something that helps us to identify it?
    Thanks.

    Plugin Author Oscar Gare

    (@oscargare)

    Hello there,

    It’s been a few days since we replied last. We just wanted to make sure that your issue was resolved or you had any other queries. I want to inform you that I will mark this thread as resolved in a few days if you do not reply.

    Thanks.

    Thread Starter xurxomatic

    (@xurxomatic)

    Sorry for the delay, Oscar.

    The process is /en/wp-admin/admin-ajax.php?action=wcpbc_1_pricesync

    In the debug log we get this error too:

    [20-Nov-2023 09:26:41 UTC] Cron unschedule event error for hook: wcpbc_1_pricesync_cron, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:”wcpbc_1_pricesync_cron_interval”,”args”:[],”interval”:300}

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    The problem may be because the database is unavailable (it has too many connections, it’s locked, etc.), and the cron can’t update the cron task. Do you have access to the MySQL error logs?

    Try also to replace the WordPress Cron with a real cron job that runs every 5 minutes:
    https://themeisle.com/blog/disable-wp-cron

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