Support » Fixing WordPress » Only variables should be passed by reference

  • Getting error for following ocde:-

    $comments_by_type = &separate_comments( get_comments( 'status=approve&post_id=' . $id ) );

    I removed & but it is still the same.

  • The topic ‘Only variables should be passed by reference’ is closed to new replies.