• Resolved Sn00z389

    (@webmakers2011)


    Hi,

    after the update of WPForms I have 192 pages of action_scheduler/migration_hook and they are creating every minute! What should I do for this to stop????

    Please respond fast.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Ethan Choi

    (@ethanchoi)

    Hi @webmakers2011,

    When you get the chance, could you share more details (such as any error messages or screenshot) of the issue you’re describing?

    Thanks!

    Sn00z389

    (@webmakers2011)

    As I said I had over 200 pages of scheduled actions, every action schedules in 1 minute interval. This happens if I enable your plugin. Now I have disabled it.

    The scheduled actions are in Woocommerce -> Status -> Action Scheduler

    The plugin creates infinite action_scheduler/migration_hook

    Plugin Support Ethan Choi

    (@ethanchoi)

    Hi @webmakers2011,

    Thanks for letting us know. We’d like to take a closer look at your site, if possible.

    When you get the chance, could you submit a ticket by going to our site (https://wpforms.com/contact/) and click on the ‘Complete A Form’ button.

    In your message, reference this thread/URL, we’ll be on the look out for it!

    Thanks!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    We’d like to take a closer look at your site

    @ethanchoi What does that mean? Exactly?

    Plugin Author Jared Atchison

    (@jaredatch)

    @jdembowski Users who encounter complex problems that will likely require a lot of back and forth communication we ask to reach out to go through our ticketing system, to keep the process efficient. We have a full support team monitoring and working with those tickets, as compared as on WordPress.org where we provided limited support and are not able to monitor/respond as quickly 🙂

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @jaredatch @ethanchoi Here’s the important question and please don’t dodge it: does that include asking for access to the user’s admin or host or some combination of both? It’s important.

    There really is no penalty for being honest here and that’s the truth.

    Plugin Author Jared Atchison

    (@jaredatch)

    @jdembowski no, asking for user’s admin or host password is not our preferred option for free users since we only offer limited support on lite plugin as stated in our Support Policy – https://wordpress.org/support/topic/wpforms-lite-support-policy/

    Instead, we ask users to send us the System Info from the plugin settings, so we can further investigate edge case issues.

    In some scenarios when absolutely needed, we may ask the customer to request their hosting company to send us php error logs, so we can take a closer look.

    If the customer is unable to provide that, and it’s a really complex issue, then we encourage users to purchase our Pro support licensee for further debugging help.

    In very very rare scenarios where we feel the issue is critical enough, we would ask for the admin access (of course with user’s consent), but this is the absolute last resort, and we don’t do this often for the obvious security reasons.

    But again to reiterate the original point, when a support ticket requires a developer to take a closer look at an error being reported, we prefer to handle it in our existing support ticket system where our dev team already spends dedicated time. This allows users to receive a timely response from a senior team member instead waiting in .org support queue.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Hi Jared, that’s a great reply and practice.

    As you can guess, the reason I am asking is that requesting access to a user’s site even outside of the forums puts that plugin in jeopardy here. This would be the reply that I’m currently using.

    While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk.

    If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums.

    Thankfully are other ways to get information you need:

    You get the idea.

    We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline.

    When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.

    Yes, it’s pre-defined. This doesn’t happen often but often enough that a pre-defined reply is warranted.

    Thorned Rose

    (@thorned-rose)

    I have the same issue. The first I noticed of it was the Dashboard activity box was a loooong list of action scheduler issues.

    Next I noticed that Woocommerce Order page would not load WSOD. At first I thought it may be a problem with the Woocommerce v4.0 update so rolled back Woocommerce. But it made no difference.

    I looked through the error logs and got this:

    [14-Mar-2020 00:15:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method ActionScheduler_DBLogger::unhook_stored_action() in /home/ahbc/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/Runner.php:99
    Stack trace:
    #0 /home/ahbc/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(215): Action_Scheduler\Migration\Runner->migrate_actions(Array)
    #1 /home/ahbc/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(150): ActionScheduler_HybridStore->migrate(Array)
    #2 /home/ahbc/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Store.php(318): ActionScheduler_HybridStore->query_actions(Array)
    #3 /home/ahbc/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php(82): ActionScheduler_Store->has_pending_actions_ in /home/ahbc/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/migration/Runner.php on line 99

    I then disabled WPForms and everything was fine again. My solution currently has been to roll back to the previous version of WPForms.

    Plugin Support Ethan Choi

    (@ethanchoi)

    Hi @thorned-rose,

    Sorry for the trouble with that!

    We had recently included a background processing library in the plugin. However, some WooCommerce addons had accidentally included older version of that library briefly, and this causes a conflict which lead to the error.

    To fix this, please try the following steps:

    1. In the WordPress admin area, open /wp-admin/options.php page on your site.
    2. On this page find options schema-ActionScheduler_LoggerSchema, schema-ActionScheduler_StoreSchema, and action_scheduler_migration_status and remove their values (leave them empty), save options changes.
    3. Activate WPForms plugin again.

    When you get the chance to give it a try, please let us know how that goes.

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.