Title: WP 3.4 issues with less than PHP 5.25
Last modified: August 20, 2016

---

# WP 3.4 issues with less than PHP 5.25

 *  [thebloghouse](https://wordpress.org/support/users/thebloghouse/)
 * (@thebloghouse)
 * [14 years ago](https://wordpress.org/support/topic/not-compatible-with-php-524/)
 * Just installed WordPress 3.4 on a box with PHP 5.2.4 (5.2.4-2ubuntu5.24) and 
   activated Debug Queries pluing by Frank Bültge and getting lots of PHP warnings
   like the following:
 * `Warning: Wrong parameter count for debug_backtrace() in /home/Bl0gho3se3/public_html/
   mobilephoneschecker.com/public/wp-includes/functions.php on line 3625`
 * The version of PHP should be checked prior to running debug_backtrace() as any
   PHP < 5.2.5 will generate this error as debug_backtrace() was only introduced
   in PHP 5.2.5 onwards.
 * Looking to see if I can add this myself now…

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [thebloghouse](https://wordpress.org/support/users/thebloghouse/)
 * (@thebloghouse)
 * [14 years ago](https://wordpress.org/support/topic/not-compatible-with-php-524/#post-2812284)
 * Here is the original trac ticket when this change was made and pushed into 3.4:
   [Ticket #19589](http://core.trac.wordpress.org/attachment/ticket/19589/simpler-backtraces-core.diff)
 * For now I have made the following change in functions.php on line 3624
 * `$trace = debug_backtrace(FALSE);`
    to `$trace = debug_backtrace();`
 *  [Lionel Pointet](https://wordpress.org/support/users/lpointet/)
 * (@lpointet)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/not-compatible-with-php-524/#post-2812697)
 * You can follow the corresponding ticket right here: [http://core.trac.wordpress.org/ticket/20953](http://core.trac.wordpress.org/ticket/20953)
   
   For now, the correction will be included in the WordPress 3.4.1 version.
 * As Andrew said in this ticket, you shouldn’t debug queries in production (I don’t
   know if it’s the case though).
 *  Thread Starter [thebloghouse](https://wordpress.org/support/users/thebloghouse/)
 * (@thebloghouse)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/not-compatible-with-php-524/#post-2812698)
 * Yeah I am not using this in production but testing fully on a dev server. Glad
   this is getting sorted on 3.4.1.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WP 3.4 issues with less than PHP 5.25’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 2 participants
 * Last reply from: [thebloghouse](https://wordpress.org/support/users/thebloghouse/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/not-compatible-with-php-524/#post-2812698)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
