WordPress.org

Make WordPress Core

Opened 2 years ago

#41119 new defect (bug)

Plugins failing trying to use wp_generate_password() function

Reported by: jamiefryatt Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Plugins Keywords:
Focuses: Cc:
PR Number:

Description

I've been using a plugin called Woozone, and found a problem when i moved my site to AWS Lighttail, i don't know if this is the same elsewhere. I didn't have this problem with the same setup using AWS EC2, so there might be something in that or how the errors are handled.

Basically i found that the plugin wanted to use wp_generate_password, but couldn't and was throwing a 500 fatal error... I did some debugging and found that in the wp-settings.php file, the pluggable.php and its depreciated version were loading after the plugins. To fix my error i just moved that to load before the plugins and everything worked again.

Not sure if this is a bug, or worth reporting, but it was causing me issues so i thought i'd let you know.

Change History (0)

Note: See TracTickets for help on using tickets.