Skip to main content
6 events
when toggle format what by license comment
Jan 30, 2013 at 21:59 comment added Chief Alchemist Actually, I think my Plan A for now is going to be a string with all the cats not'ed. And then I'll remove the current cat. Opps, I think I already mentioned this as a solutions. Crazy but I'll work. And if I find the hole someday, I can just remove this "hack".
Jan 30, 2013 at 21:37 comment added Chief Alchemist What if I just did a proper SQL query? That's not going to add any extra overhead, etc., correct? It just seems to me that by the time I track down the source of the "leak" - and I might never be able to do that since the use of a $var triggering a "bug" is just plain odd to begin with, eh - I could just tap out a SQL statement and not have to worry about WP_Query() and its issues.
Jan 30, 2013 at 20:48 comment added Andy Killen I agree with Wyck (currently below), this is most likely an issue with another plugin or your theme. I would try disabling all plugins and trying again, and then if that does not do the job, try putting you categories.php into the twentyten theme or similar and trying there. The wp_reset_query() is not so vital in this situation. You could look at this as being a nested loop inside the standard loop if you really wanted, as you are using your own var to store the loop it won't matter so much.
Jan 30, 2013 at 20:42 comment added Chief Alchemist Thx @Andy Killen. Sad to say it did not help. At this point it much be something somewhere else in the theme. That said, I would expect the wp_reset_query() to give me a clean slate, yes? As it is, 'cat' being assigned with a $val causes WP to seek some other set of args. Those DO look like a set the site is using elsewhere. What I don't understand is why. Why is not using the args I'm asking it to use? And better still, since I'm not pulling any real errors, how should I do abuot trying to pin down this "leak"? Any suggestions would be greatly appreciated. Thank you!
Jan 30, 2013 at 19:58 review First posts
Jan 30, 2013 at 21:01
Jan 30, 2013 at 19:42 history answered Andy Killen CC BY-SA 3.0