- This topic has 28 replies, 4 voices, and was last updated 3 years, 11 months ago by Ross.
-
Ross Moderator(Private) January 7, 2021 at 11:41 am #271910
Hi Alex
Apologies for the delay. This ticket is now my priority.
Can you give me exact steps to reproduce the issue on the dev site?
The forms I see on the dev site now seem to be working ok?
Thanks
Anonymous(Private) January 7, 2021 at 12:21 pm #271912Hi Ross,
I made a quick 2 min video.
https://www.loom.com/share/c2fc89618e994c6fa4b4b13d583909e2To reproduce the issue, simply enable the WooCommerce plugin on the dev site.
Ross Moderator(Private) January 7, 2021 at 3:04 pm #271945Hi Alex
Ok so I see the issue…
The problem we have sometimes with our plugin, is that when you load our search form edit page, we have to load all the post meta keys on your site at once – to popuplate the dropdown (we should do that with ajax, but that won’t solve this issue).
The issue is in fact how many individual post meta keys you have. This is with woocommerce enabled (and all other plugins disabled):
https://snipboard.io/m4sH2j.jpg
That shows over 38,000 meta keys! The browser doesn’t like to load a dropdown list with so many entries… This is whats causing the slowdown on the page (when dragging items, clicking anything)And when you get a
500
error when loading the admin page, I think thats because server resources / mysql limitations have been reached (we’ve effectively done a mysql query for over 40,000 records on every page load of the search form edit screen).The question is, why do you have so many unique entires? That is tons of data assigned to your post meta… I’ve never seen anything quite like this!
Also, I tried without woocommerce, and I still see around 40,000 meta keys! So I think woocommerce has nothing to do with the issue (and the meta data is not stored on the products) – I think it is jsut a co-incidence that it was failing at that point (because WooCommerce takes up additional server resources).
So, I’m thinking, how do we clear up all this post meta – do you know where it is coming from / what it’s used for?
Best
Ross Moderator(Private) January 11, 2021 at 9:37 am #272288Ok great, let me know how you get on.
Best
Anonymous(Private) January 11, 2021 at 11:52 am #272327Hey guys,
Our developer discovered that those 44k meta’s were created by the Advanced NoCAPTCHA plugin and oEmbed WP feature (just in case somebody else runs into this issue in the future). He cleaned the database reducing it down to about 600 meta’s and now the plugin works fine even with 3 post meta’s in the search UI.
Thanks for the assistance. The issue is solved now.
-
AuthorPosts