[wp-trac] [WordPress Trac] #63619: Cached WP_Term_Query result attempts object conversion to int

WordPress Trac noreply at wordpress.org
Wed Jun 25 17:07:04 UTC 2025


#63619: Cached WP_Term_Query result attempts object conversion to int
-------------------------------+------------------------------
 Reporter:  crstauf            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by SirLouen):

 * keywords:   => reporter-feedback


Comment:

 @crstauf sometimes, we find errors in the code that are mostly obvious.

 But still, we need a reproducible scenario for further testing them before
 starting to go hands on them. We have to try to build not only a patch,
 but some unit tests etc.

 From what I can see, it appears that this might be executed by some
 dangling query var you have available. I'm not 100% confident, but
 probably coming from a plugin (or not, but we must find out).

 My recommendation is to add some code there, in the line you see the
 problem is caused, like some traceback function and see where is coming
 this execution from. As I say, without a use case or something we can
 easily replicate this, it's going to be difficult to move forward this
 report.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63619#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list