AJAX not working in BP1.5 default child theme
Hi – I have the _inc folder in the bp-default folder and in my child-theme folder containing ajax.php, global.js, and the css and images folders. I get this error:
Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in /home/resource/public_html/dev/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:17) in /home/resource/public_html/dev/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php on line 81
Unless I delete the contents of the ajax.php in the default theme. Then my site will load but the AJAX doesn’t work (no add friends, favorite, posting from sidebar etc etc). I have disabled all of my plugins and my WP and BP are the latest versions. My site is on a subdomain.
Any help appreciated – I’ve run out of places to look, things to try.
- The topic ‘AJAX not working in BP1.5 default child theme’ is closed to new replies.