Fatal error with BuddyPress / Yoast SEO

5.63K viewsIssues
0

Hey,

first when I have AnsPress activated I get 2 warnings on top of my site:

Warning: array_merge(): Argument #1 is not an array in /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/anspress-question-answer/includes/hooks.php on line 387
Warning: Invalid argument supplied for foreach() in /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/anspress-question-answer/includes/hooks.php on line 350

But with BuddyPress and Yoast SEO activated the questions page won’t even load, giving me the following error:

Fatal error: Uncaught Error: Call to undefined function bp_activity_do_mentions() in /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php:234 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-includes/plugin.php(235): bp_activity_at_name_filter('[anspress]\n') #1 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-includes/post-template.php(240): apply_filters('the_content', '[anspress]\n') #2 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/themes/suave/content-page.php(10): the_content() #3 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-includes/template.php(574): require('/Applications/X...') #4 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-includes/template.php(531): load_template('/Applications/X...', false) #5 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-includes/general-template.php(167): locate_template(Array, true, false) #6 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/themes/suave/page.php(48): get_templat in /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php on line 234

I can deactivate Yoast SEO to at least see the questions page, but the CSS is all ugly and JS does not seem to work properly (e.g. toggle fullscreen is not working). When I click on the “How to ask” tab, I see another error, similar to the one above:

Fatal error: Uncaught Error: Call to undefined function bp_activity_do_mentions() in /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php:234 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-includes/plugin.php(235): bp_activity_at_name_filter('<div style="wid...') #1 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/anspress-question-answer/includes/theme.php(748): apply_filters('the_content', '<div style="wid...') #2 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/anspress-question-answer/includes/theme.php(731): ap_get_how_to_ask() #3 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/anspress-question-answer/theme/default/ask.php(36): ap_how_to_ask() #4 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/anspress-question-answer/includes/common-pages.php(171): include('/Applications/X...') #5 /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/anspress-question-answe in /Applications/XAMPP/xamppfiles/htdocs/pinsider/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php on line 234

 

I have no clue how Yoast and BuddyPress in combination with AnsPress account for such an error. I have all Plugins on the current version, with AnsPress being on 2.4.8.

I would really enjoy using your Plugin over the other Q&A Plugins since it seems to be the best choice wrt the optioons available, but unfortunately until now it is not usable for us.

 

Best regards