0
votes
1answer
423 views

Fatal error: Allowed memory size exhausted

I have a custom .csv generator functions that basically export data from posts and its post metas. The function works fine on this WP_query parameter: Array( [tax_query] => Array ( ...
0
votes
2answers
373 views

How to use WP_Query() on single.php?

I'm using WP_Query() to pull out a few posts under a specific category "Featured" to display at the bottom of any post. So I added <?php if (function_exists('getEditorPicks')) ...
0
votes
1answer
273 views

Make WP_Query more efficient?

Ok - so using a WP_Query to count votes by a user. But now there are 23,000 votes and its using up lots of memory. Is there a way i can make this WP_Query more efficient? $args = array( ...
5
votes
2answers
759 views

WP_Query leaking absurd amounts of memory

Every time I call WP_Query() in the function below, Wordpress leaks 8 megs of memory. And since I call this function a lot, things get hairy pretty quickly... :( I've tried unsetting the resulting ...