Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Favourites in Sidebar

@wp_new_user

Participant

Hi @shanebp,
here are the errors:

1)
if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&scope=favourites’ ) ) :
the error is:
Parse error: syntax error, unexpected ‘}’ in /homepages/38/d602737955/htdocs/web/wp-content/plugins/asplugin/asplugin.php on line 42

2)
echo if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&scope=favourites’ ) ) :;
the error is:
Parse error: syntax error, unexpected ‘if’ (T_IF) in /homepages/38/d602737955/htdocs/web/wp-content/plugins/asplugin/asplugin.php on line 38

3)
echo bp_ajax_querystring( ‘activity’ ).’&scope=favourites’;
it prints on screen only: &scope=favourites

Thank you!

Skip to toolbar