There’s something wrong in this code:
$myQuery = new WP_Query();
$myArray = array();
$myArray = $post->ID;
On the last line in the while block, I get this error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes)
- The topic ‘Getting IDs without printing them?’ is closed to new replies.