[Escalated to 2nd Tier] very slow query when toolset is activated
This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am experiencing a very slow query when Toolset is activated, along with WP Offload Media. The slow query only happens when Toolset is activated.
I have installed Query monitor and according to that plugin there is a conflict with post meta with a meta key of "_wp_attached_file" and a value that has a .tmp file name. WP Offload Media is responding to the "wp_unique_filename" filter call to ensure that it has not offloaded something that could have a name clash with the newly proposed file name.
I found that this file: types\vendor\otgs\installer\includes\class-installer-dependencies.php contains code that is part of the problem with the slow query. When I comment out the code in the attached screenshot, it is no longer included in the slow queries in query monitor and the admin is much faster. Can you explain what this piece of code does and why it is trying to delete a file that does not exist?
I just checked with the internal ticket reported and there is no news yet to share with you.
But I had a talk with Dev and the update is that they will try to propose fix as soon as possible but there is no ETA on it. I'll get in touch with you as soon as I get any updates on it.