Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#3686 closed defect (bug) (fixed)

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

Reported by: mercime Owned by:
Priority: normal Milestone: 1.6
Component: Extended Profile Version:
Severity: normal 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
15 years ago

Warning removed by minor change

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

#2 @johnjamesjacoby
15 years ago

  • Milestone Awaiting Review1.6

#3 @johnjamesjacoby
15 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.