-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Description
Plugin installations and updates fail when the BlueHost WordPress Plugin is activated alongside any plugin that uses the shared library.
Error reported to us:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Newfold\WP\Module\Secure_Passwords\random_password(), 1 passed in ______ /public_html/wp-includes/class-wp-hook.php on line 307 and exactly 4 expected in ______ /public_html/wp-content/plugins/bluehost-wordpress-plugin/vendor/bluehost/wp-module-secure-passwords/secure-passwords.php:274
The random_password filter used in the library only passes a single parameter, but it was changed in WP 5.3.0 to require 4 instead.
Solution
Changing the filter in Pluggable.php to match the updated version seems to fix the issue.
Metadata
Metadata
Assignees
Labels
No labels