Title: Plugin conflict / critical errors
Last modified: April 20, 2022

---

# Plugin conflict / critical errors

 *  Resolved [shapress](https://wordpress.org/support/users/shapress/)
 * (@shapress)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-conflict-critical-errors/)
 * My two WordPress websites (ber 5.9.3) have shown errors in almost every plugin
   install or update.
 * When I deactivate the plugin, I can install and update everything again.
    Both
   of my sites have the latest version of the plugin (1.15.0) installed, while on
   each of the sites, the theme is different (Astra and Neve), so I guess the issue
   has nothing to do with the theme.
 * I had used the plugin and there wasn’t any problem up until recently.
    The automated
   updates on my sites don’t allow me to troubleshoot what has happened since then.
 * Should you guys have some idea to solve the issue, I will keep using the plugin

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Joseph W](https://wordpress.org/support/users/joe9663/)
 * (@joe9663)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-conflict-critical-errors/#post-15576208)
 * Sorry to hear about the problems installing and updating plugins on your website,
   we’d really like to figure out what the problem is!
 * Just to confirm, while Total Upkeep is activated you are unable to install certain
   plugins or perform plugin updates correct?
 * What are some of the plugins you tried installing or updating that failed to 
   complete as expected?
 * I tried testing this by installing [WP Rollback](https://wordpress.org/plugins/wp-rollback/)
   on a site with Total Upkeep activated. Then I rolled back the versions of a few
   plugins and performed the updates, which worked as expected for me.
 * Could you help us out by [enabling debugging in your WordPress installation](https://wordpress.org/support/article/debugging-in-wordpress/),
   rolling back a few plugin versions on your site, attempting the updates/installs
   again, and then sending us any error messages that appear on the page?
 * That information should point us in the direction of the problem and please let
   us know if you have any additional questions for us while we work on this.
 *  Thread Starter [shapress](https://wordpress.org/support/users/shapress/)
 * (@shapress)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-conflict-critical-errors/#post-15576504)
 * Hi Joseph,
    Thanks for your response. I’ve enabled debugging mode and tried to
   install the WP-Optimize plugin but failed. The message I got in the plugins page
   was simply “update failed” (although I tried to install and not update a plugin
   in this case). Here is the error description from the debug file (without my 
   particular address path):
 * 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
 * Stack trace:
    #0 _____/public_html/wp-includes/class-wp-hook.php(307): Newfold\
   WP\Module\Secure_Passwords\random_password(‘ym3NNm’) #1 _____/public_html/wp-
   includes/plugin.php(189): WP_Hook->apply_filters(‘ym3NNm’, Array) #2 _____/public_html/
   wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/src/Util/Pluggable.
   php(151): apply_filters(‘random_password’, ‘ym3NNm’) #3 _____/public_html/wp-
   admin/includes/file.php(677): wp_generate_password(6, false) #4 _____/public_html/
   wp-admin/includes/file.php(1136): wp_tempnam(‘wp-optimize.3.2…’) #5 _____/public_html/
   wp-admin/includes/class-wp-upgrader in _____/public_html/wp-content/plugins/bluehost-
   wordpress-plugin/vendor/bluehost/wp-module-secure-passwords/secure-passwords.
   php on line 274`
 *  Plugin Contributor [Joseph W](https://wordpress.org/support/users/joe9663/)
 * (@joe9663)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-conflict-critical-errors/#post-15579395)
 * Thank you for sending us that information and we have a couple solutions that
   should help you get things working correctly!
 * There is a conflict between the BlueHost WordPress Plugin and our shared library
   loaded by Total Upkeep that is preventing the plugin installations and updates
   from working as expected.
 * The easiest way to fix the problem is to deactivate the BlueHost WordPress Plugin,
   but I would only recommend doing that if you do not need the additional functionality
   that it provides.
 * The other solution requires some direct file modifications to the shared library
   loaded by Total Upkeep, specifically the Pluggable.php file. You can find that
   file under `wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/src/Util/
   Pluggable.php` in your website’s filesystem.
 * Change line 151 in Pluggable.php from `return apply_filters( 'random_password',
   $password );` to `return apply_filters( 'random_password', $password, $length,
   $special_chars, $extra_special_chars );`. The `random_password` function was 
   changed in WordPress 5.3.0 to require 4 parameters and the version included in
   our library has not been updated to match the new requirements.
 * I also submitted a pull request to our development team to get the code updated
   and hopefully we will be able to put out a release that contains the new code
   soon.
 * Thank you for helping us find this bug and please let us know if you ever have
   any other questions for us!
 *  Thread Starter [shapress](https://wordpress.org/support/users/shapress/)
 * (@shapress)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-conflict-critical-errors/#post-15579576)
 * Greate, thanks! it works for me.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin conflict / critical errors’ is closed to new replies.

 * ![](https://ps.w.org/boldgrid-backup/assets/icon-256x256.png?rev=1880952)
 * [Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid](https://wordpress.org/plugins/boldgrid-backup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/boldgrid-backup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/boldgrid-backup/)
 * [Active Topics](https://wordpress.org/support/plugin/boldgrid-backup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/boldgrid-backup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/boldgrid-backup/reviews/)

## Tags

 * [plugin conflict](https://wordpress.org/support/topic-tag/plugin-conflict/)

 * 4 replies
 * 2 participants
 * Last reply from: [shapress](https://wordpress.org/support/users/shapress/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-conflict-critical-errors/#post-15579576)
 * Status: resolved