how to find which php script is triggering query
-
Hello
I have an issue already reported here of multiple duplicate queries being generated.
I’ve installed Query Monitor and Debug Bar and they tell me which is the query.
That’s fine, but it does not indicates where is the query coming from, ie, which php script, or scripts, is generating those queries.
For instance:
SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'I know this is generated by function
wp_load_alloptions
which is on file
wp-includes/options.php
.
But there’s a huge amount of php scripts that may trigger that function and the plugins above do not help to shed light on that question.
Any ideas?
Thanks
The page I need help with: [log in to see the link]
The topic ‘how to find which php script is triggering query’ is closed to new replies.