Duplicate Queries Shown

Formidable Forms Released
May 03, 2019 11:09:06
jstraete
Topics: 34
Messages: 111
I use the Query Monitor plugin in WordPress to troubleshoot site issues frequently. I noticed this morning on a page that loads a PDF into the view, that there are almost 2,000 duplicate queries shown for this particular PDF that is loading. I attached a screenshot showing this. Looking through the list, the Callers are mostly labeled Model_E2pdf_Element->get_elements() or Model_E2pdf_Element->load(). I don't recall seeing this before, so maybe something with a recent update has caused this duplication.
May 03, 2019 11:45:04
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Last updates must not affect anyhow the number of queries. When you are using shortcode inside "View" with list of entries - it loads each shortcode via "foreach" and it can cause duplicate queries.

We are continuously working on optimization and this will help us to investigate issue and try to optimize requests to avoid unnecessary loads. Thank you for notifying us.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
May 07, 2019 11:07:44
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

We just released an update (1.07.05) which has "Cache" support. Option is turned on by default. It must solve issue with duplicate queries.

Let us know please if it will be any issues.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
May 07, 2019 11:21:57
jstraete
Topics: 34
Messages: 111
Thank you for the update. I looked at 3 of my form entries (all using the same form template), and all 3 showed only 1 duplicate query related to the plugin, which I attached a screenshot of (this same duplicate query appeared on all 3 tests).
May 07, 2019 11:28:42
E2Pdf
Topics: 7
Messages: 3617
Support
Caching of entries will be added with next update. Thank you.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
May 07, 2019 11:29:23
jstraete
Topics: 34
Messages: 111
Ok sounds great, thanks again for all your help!
May 08, 2019 07:10:36
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

We just released an update (1.07.06) where was added cache for entries. Let us know please if it will be any issues after update. Thank you.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
May 08, 2019 11:05:34
jstraete
Topics: 34
Messages: 111
I just check about half a dozen PDF entries and none of them showed the duplicate query anymore! Thanks!
May 08, 2019 11:07:41
E2Pdf
Topics: 7
Messages: 3617
Support
Glad to hear that issue solved. Thank you for participating in improvements.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.