Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 12 years ago

#3686 closed defect (bug) (fixed)

Call-time pass-by-reference in bp-xprofile-classes.php

Reported by: mercime's profile mercime Owned by:
Milestone: 1.6 Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords:
Cc:

Description

  1. BuddyPress 1.5 was inactive.
  2. WP_DEBUG is true. Only plugin active was Debogger.
  3. Upgraded to BP 1.5.1 per message in test site's plugin page.
  4. Activated BuddyPress and received following error:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of do_action(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxxx/xxxx/xxxxx/xxxx.com/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 751

line 751:

<?php do_action( 'xprofile_field_additional_options', &$this ) ?>

Change History (3)

#1 @mercime
12 years ago

Warning removed by minor change

<?php do_action( 'xprofile_field_additional_options', $this ) ?>

#2 @johnjamesjacoby
12 years ago

  • Milestone changed from Awaiting Review to 1.6

#3 @johnjamesjacoby
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5293]) Fix debug notice in XProfile render_admin_form(). Props mercime. Fixes #3686.

Note: See TracTickets for help on using tickets.