• ResolvedPlugin Author AITpro

    (@aitpro)


    Setup Wizard AutoFix (AutoWhitelist|AutoSetup|AutoCleanup) checks which plugins and themes you currently have installed and will display a BPS Setup Wizard AutoFix Notice to run the BPS Setup Wizard if any currently installed plugins or themes require Custom Code whitelist rules or AutoSetup. The BPS Setup Wizard automatically creates BPS Custom Code whitelist rules for known issues with any plugins and themes that need Custom Code whitelist rules. Setup Wizard AutoFix also automatically sets up and cleans up caching plugin’s htaccess code for these WordPress caching plugins: WP Super Cache, W3 Total Cache, Comet Cache Plugin (free & Pro), WP Fastest Cache Plugin (free & Premium), Endurance Page Cache and WP Rocket.

    List of plugins and themes that have AutoFixes (BPS Pro 13+ & BPS 2.0+ versions): https://forum.ait-pro.com/forums/topic/setup-wizard-autofix/

    AutoWhitelist: The Setup Wizard AutoFix feature automatically creates Custom Code whitelist rules for 100+ known issues with plugins and themes. Previous versions of BPS and BPS Pro required doing a manual copy and paste solution to manually add Custom Code whitelist rules to BPS Custom Code.

    AutoSetup: The Setup Wizard AutoFix feature automatically gets htaccess caching code from caching plugins (WP Super Cache, W3 Total Cache, Comet Cache Plugin (free & Pro), WP Fastest Cache Plugin (free & Premium), Endurance Page Cache and WP Rocket) and saves caching plugin’s htaccess code in BPS Custom Code. Previous versions of BPS and BPS Pro required doing a manual copy and paste solution to manually add caching plugin’s htaccess code to BPS Custom Code.

    AutoCleanup: The Setup Wizard AutoFix feature automatically removes any existing caching plugin’s htaccess code in BPS Custom Code and the Root htaccess file if the caching plugin is no longer activated or installed. Example scenario: You have Plugin X Caching plugin installed and decide to try Plugin Y Caching plugin. Setup Wizard AutoFix (AutoCleanup) will automatically remove any existing htaccess code from BPS Custom Code and the Root htaccess file for Plugin X Caching plugin. At the same time Setup Wizard AutoFix (AutoSetup) will automatically create Plugin Y’s Caching code in BPS Custom Code and the Root htaccess file. So instead of having to manually add or remove any caching plugin’s htaccess code in BPS Custom Code, the Setup Wizard AutoFix feature will automatically do that when you run the BPS Setup Wizard.

    AutoFix Debugging: BPS UI|UX Settings page > BPS UI|UX|AutoFix Debug: Turning On the BPS UI|UX|AutoFix Debug option will display: plugin or theme names and the BPS Custom Code text box where plugins or themes should be creating Custom Code whitelist rules. Usage: If the BPS Setup Wizard AutoFix (AutoWhitelist|AutoSetup|AutoCleanup) Notice is still being displayed after running the Pre-Installation Wizard and Setup Wizard then the BPS UI|UX|AutoFix Debug option should be turned On to find the exact plugin or theme and the Custom Code text box where the problem is occurring. Example Debug Displayed message: CC Root Text Box 10: WooCommerce Plugin. This option could also be used generally to see which plugins and themes BPS AutoFix is creating Custom Code whitelist rules for and which Custom Code text boxes the AutoFix whitelist rules will be created in.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just updated to BPS 2.0 on 3 websites and the websites all promptly went down with the following PHP fatal error (resulting in a server 500 error):

    PHP Fatal error: Cannot redeclare bpsPro_autoupdate_bps_plugin() (previously declared in /home/xxxxx/public_html/wp-content/mu-plugins/bps-mu-tools.php:25) in /home/xxxxx/public_html/wp-content/mu-plugins/bps-plugin-autoupdate.php on line 15

    My host restored access by moving the PHP file (bps-plugin-autoupdate.php) out of the folder. BPS still appears to be working okay. Two questions:
    1) There appears to be a problem with this update, and I am reluctant to update any more sites as a result. Can you give any advice regarding the above error and how to avoid the 500 errors?
    2) For the sites where I have had to move the PHP file to regain access, what is the impact of doing this?

    • This reply was modified 8 years, 11 months ago by Gillian.
    Plugin Author AITpro

    (@aitpro)

    See this forum topic here for more info on what caused the problem: https://forum.ait-pro.com/forums/topic/site-fatal-error/#post-33440. Moving the bps-plugin-autoupdate.php file out of the /mu-plugins/ folder would not have any negative impact and was the correct way to fix the problem.

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

The topic ‘NEW in BPS 2.0+: Setup Wizard AutoFix (AutoWhitelist|AutoSetup|AutoCleanup)’ is closed to new replies.