[buddypress-trac] [BuddyPress Trac] #7227: Fatal error - Call to undefined function wp_generate_password() in bp-core\bp-core-options.php on line 77

buddypress-trac noreply at wordpress.org
Wed Aug 31 22:14:46 UTC 2016


#7227: Fatal error - Call to undefined function wp_generate_password() in bp-core
\bp-core-options.php on line 77
--------------------------+------------------
 Reporter:  r-a-y         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  2.7
Component:  Core          |     Version:
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by r-a-y):

 To further clarify, this fatal error only pops up on upgrades to BP 2.7
 and when a plugin is doing what I mentioned in the OP.

 To duplicate this error, you can add and activate the following test
 plugin:

 {{{#!php
 <?php
 /*
  Plugin Name: BP 7227 - Fatal error
  Plugin URI: https://buddypress.trac.wordpress.org/ticket/7227
  Description: Fatal error caused by wp_generate_password()
  */

 // Emulate upgrade to BP 2.7 by first removing the email salt.
 delete_option( 'bp-emails-unsubscribe-salt' );

 // Update any option in the database with BuddyPress 2.7-alpha activated.
 update_option( 'raytest', time() );
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7227#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list