• whenever i enable buddypress and a buddypress theme this is what i get:
    Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in /home/backbac2/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:20) in /home/backbac2/public_html/wp-content/themes/Speed/_inc/ajax.php on line 63

    All help is appreciated

Viewing 5 replies - 1 through 5 (of 5 total)
  • The Speed theme and the BuddyPress forum both have a function with the same name bp_dtheme_ajax_querystring(), check the theme’s authors website or the buddyPress forum to see if it is a known issue.

    Or find and remark out the bp_dtheme_ajax_querystring() function in the themes folder ‘Speed/_inc/ajax.php’, they should have really changed the function name or made it pluggable.

    The two files are:

    /plugins/buddypress/bp-themes/bp-default/_inc/ajax.php

    /themes/Speed/_inc/ajax.php

    HTH

    David

    Thread Starter jakesyl

    (@jakesyl)

    no this happens with every theme including bp default
    it only happens when buddypress is installed

    It is clearly saying that specific theme file /themes/Speed/_inc/ajax.php is loading, does the messgae change with other themes?

    If you have ftp copy the /Speed/ folder down to your PC and then delete the folder, then WordPress would not be able to find the theme and will resort to the WordPress default theme.

    Another way is to download the ajax.php file from the themes folder save a copy, remove that function call, save and upload it, so there is no conflict.

    Is there another theme specific plugin for the speed theme?

    HTH

    David

    Thread Starter jakesyl

    (@jakesyl)

    Please note this only happens after i activate buddypress
    not that i am aware of in the past i have had other problems of the same manner here are links:
    https://www.ads-software.com/support/topic/fatal-error-again-after-theme-change?replies=9#post-2334315
    https://www.ads-software.com/support/topic/fatal-error-378?replies=3
    and when i tried enabling another theme well we’ll see

    Thread Starter jakesyl

    (@jakesyl)

    okay different problem now it says

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error again cannot redeclare’ is closed to new replies.