[wp-trac] [WordPress Trac] #20953: Users with PHP 5.2.4 or lower will receive notice "wrong parameter count for debug_backtrace()"

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 14 13:51:10 UTC 2012


#20953: Users with PHP 5.2.4 or lower will receive notice "wrong parameter count
for debug_backtrace()"
------------------------------+------------------------------
 Reporter:  swekitsune        |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Warnings/Notices  |     Version:  3.4
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+------------------------------

Comment (by nacin):

 This means you are running SAVEQUERIES in production, or are generating
 queries with errors, which are both bad.

 As a "permanent" fix we could A) conditionally call debug_backtrace() with
 either one or no arguments, and B) if we call it with no arguments, we'll
 need to ignore the object ourselves.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20953#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list