Title: Fatal error: Cannot redeclare bp_dtheme_ajax_querystring()
Last modified: August 20, 2016

---

# Fatal error: Cannot redeclare bp_dtheme_ajax_querystring()

 *  [mallowtribedesign](https://wordpress.org/support/users/mallowtribedesign/)
 * (@mallowtribedesign)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-bp_dtheme_ajax_querystring/)
 * I’m designing a new child theme for Buddypress 1.5.1 using WordPress version 
   3.2.1, following the directions [here](http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/).
   I’ve just uploaded the functions.php file with the code
 *     ```
       if ( !function_exists( 'bp_dtheme_enqueue_styles' ) ) :
           function bp_dtheme_enqueue_styles() {}
       endif;
       ```
   
 * as it says on that page, but I’m getting this error:
 * **Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared
   in /home/sddia/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/
   _inc/ajax.php:17) in /home/sddia/public_html/wp-content/plugins/buddypress/bp-
   themes/bp-default/_inc/ajax.php on line 81**
 * Any idea what is going wrong here?

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

 *  [peredur](https://wordpress.org/support/users/peredur/)
 * (@peredur)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-bp_dtheme_ajax_querystring/#post-2361153)
 * *** Deleted. Posted in error ***
 *  [unclesam](https://wordpress.org/support/users/unclesam/)
 * (@unclesam)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-bp_dtheme_ajax_querystring/#post-2361294)
 * Also interested. Found one thing: not all the themes return this error, only 
   the most advanced ones. Those based on BP Default work ok. Still curius how to
   make it work.

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

The topic ‘Fatal error: Cannot redeclare bp_dtheme_ajax_querystring()’ is closed
to new replies.

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)

 * 2 replies
 * 3 participants
 * Last reply from: [unclesam](https://wordpress.org/support/users/unclesam/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-bp_dtheme_ajax_querystring/#post-2361294)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
