Forums

Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (3 posts)

  1. mallowtribedesign
    Member
    Posted 7 months ago #

    I'm designing a new child theme for Buddypress 1.5.1 using WordPress version 3.2.1, following the directions here. 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?

  2. peredur
    Member
    Posted 7 months ago #

    *** Deleted. Posted in error ***

  3. UncleSam
    Member
    Posted 1 month ago #

    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.

Reply

You must log in to post.

About this Topic