• Resolved Ralph

    (@ralph001)


    Hi Team,

    On my WordPress dashboard I did a queries test and found some query duplications. Mainly from FrmFormMigratorsHelper::maybe_add_to_inbox() and from update_option()

    Below is a sample of one of the queries

    UPDATE wp_options
    SET option_value = 'a:1:{s:5:\"usage\";a:11:{s:7:\"message\";s:547:\"Gathering usage data allows us to improve Formidable. Your forms will be considered as we evaluate new features, judge the quality of an update, or determine if an improvement makes sense. You can always visit the <a href=\".../wp-admin/admin.php?page=formidable-settings&t=misc_settings\">Global Settings</a> and choose to stop sharing data. <a href=\"https://formidableforms.com/knowledgebase/global-settings-overview/#kb-usage-tracking\" target=\"_blank\" rel=\"noopener noreferrer\">Read more about what data we collect</a>.\";s:7:\"subject\";s:43:\"Help Formidable improve with usage tracking\";s:4:\"icon\";s:16:\"frm_tooltip_icon\";s:3:\"cta\";s:276:\"<a href=\"#\" class=\"button-secondary frm-button-secondary frm_inbox_dismiss\">Dismiss</a> <a href=\".../wp-admin/admin.php?page=formidable-settings&t=misc_settings\" class=\"button-primary frm-button-primary frm_inbox_dismiss\">Activate usage tracking</a>\";s:7:\"expires\";b:0;s:3:\"who\";s:3:\"all\";s:4:\"type\";s:8:\"feedback\";s:3:\"key\";s:5:\"usage\";s:7:\"created\";i:1609746172;s:4:\"read\";a:1:{i:2;i:1609746176;}s:9:\"dismissed\";a:1:{i:2;i:1609746187;}}}', autoload = 'no'
    WHERE option_name = 'frm_inbox'

    Each one of these queries take between 0.0500 up to 2.1000. The query count shows 18 calls on each page load.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ralph001,

    Thanks for reporting this issue! It has been fixed by our developers in the latest release.

    To resolve the issue, you just need to update to the most recent version of Formidable.

    Thread Starter Ralph

    (@ralph001)

    Hi Vanessa,

    I just made the latest update and the problem is resolved, for now there are no more duplicate queries.

    regards,
    Ralph

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate Database Queries in Dashboard’ is closed to new replies.