Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Possible BUG? URLs for Activity Delete, Favorite and Reply throwing 404 ERROR (2 posts)

Started 6 months, 2 weeks ago by: arpit.tambi.in

  • Profile picture of arpit.tambi.in arpit.tambi.in said 6 months, 2 weeks ago:

    When I tried http://www.example.com/activity/favorite/220/?_wpnonce=c6508a01bc on main activity page, it gave me 404 NOT FOUND error.

    To investigate this issue, I opened core file bp-activity-actions.php and went to line number 308.
    There I found this –
    if ( !is_user_logged_in() || ( bp_is_activity_component() ) || !bp_is_current_action( 'favorite' ) )

    bp_is_activity_component() should be !bp_is_activity_component()

    And there are similar problems with other actions like delete and reply.

    I also went to the trunk to get the latest version – http://svn.buddypress.org/trunk/bp-activity/
    Looks like some of the problems have been fixed but others are still broken.

  • Profile picture of r-a-y r-a-y said 6 months, 1 week ago:

    Thanks for testing the trunk version!

    Your scenario only occurs if javascript was disabled or if there is a conflict in the javascript. Are you using a custom theme? There’s a chance a plugin could also be intefering with the javascript.

    Deleting activity updates when javascript was disabled was recently fixed in trunk:

    http://buddypress.trac.wordpress.org/ticket/3706

    If there are any other links that are broken and not reported, please post them on Trac:

    http://buddypress.trac.wordpress.org/newticket