• Resolved wpkum

    (@wpkum)


    Hello, I have the following issues with WP Forms

    Issue 1: WP Forms creating many scheduled actions with the action_scheduler/migration_hook hook. It’s very hard to remove all the entries. It was created 289 entries.

    Issue 2: The form was not receiving any emails with “Optimize Email Sending” enabled
    It was sending the emails without the Optimize Email sending option.

    I’m using WP Mail SMTP and it was successfully sending the emails.

    • This topic was modified 4 years, 7 months ago by wpkum.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wpkum

    (@wpkum)

    Here’s the System info from WP Forms: https://pastebin.com/ChAYKSxC

    Hello @wpkum,

    Thanks for reaching out, and I apologize for the trouble!

    Issue 1:

    Currently WPForms uses the Action Scheduler library to improve the performance of plugin processes. The current version of AS library in WPForms store its data in custom database tables.

    The earlier versions of the Action Scheduler library had used to store its data in the wp_posts and wp_comments tables. Plugins that use the earlier version of the AS library would store data in those tables, and the data will remain in those tables even if those plugin are removed. So the latest AS library version on activation checks to see if there are no custom tables and also for the data in the WordPress tables.

    Additionally, if you see AS jobs that means AS lib identified old data, and it tries to move everything in batches without actually breaking the website. After the data is migrated, the library will stop generating action_scheduler/migration_hook.

    Issue 2:

    When the Optimize Email Sending option is enabled, notification emails will be sent asynchronously, which means the email sending tasks are placed in a queue in the background so other form processes can be processed faster.
    Activities on the site will push the queued jobs to be executed.
    Sites with low site activity might see email delivery issues because email sending don’t get triggered immediately.

    You may try the following solution:

    1. Navigate under WPForms > Settings > Emails to check if the Optimize Email Sending option is enabled. If in case it’s enabled, please un-check and try checking the notification again.

    Thanks!

    • This reply was modified 4 years, 7 months ago by Prashant Rai.
    • This reply was modified 4 years, 7 months ago by Prashant Rai.
    • This reply was modified 4 years, 7 months ago by Prashant Rai.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Forms Creating many Scheduled Actions’ is closed to new replies.