Setup Wizard PHP Error – PHP Warning: Cannot modify header information – headers already sent

Home Forums BulletProof Security Pro Setup Wizard PHP Error – PHP Warning: Cannot modify header information – headers already sent

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #31729
    alan sills
    Participant

    I received notice in my dashboard of a PHP error (see image here that shows the php error log page – http://rvacrossamerica.net/wp-content/uploads/2016/12/php_error_log.jpg)

    What action (if any) should I take? I know the documentation says look for repeated errors of the same type, but I’m not clear as to what action to take.

    #31731
    AITpro Admin
    Keymaster

    You can disregard this PHP error.  It is insignificant.  Most likely there was some sort of caching problem or temporary server hiccup or delay when you ran the Setup Wizard.  Do you have WP_DEBUG turned On (set to true) in your wp-config.php file?

    #31734
    alan sills
    Participant

    I don’t believe debugging is on. Here is the wp_config file (I hope its the right file – I downloaded it via FTP from the public_html directory)

    #31735
    AITpro Admin
    Keymaster

    Yikes, I deleted your wp-config.php file contents that you posted.  You accidentally posted your WordPress database username and password.  😉  You should probably change your database password just in case.  Ok I was curious if that caused the php error, but like I said the php error is insignificant.  So you don’t need to do anything else.

    #31736
    alan sills
    Participant

    I did notice in the config file the following –

    * @link https://codex.wordpress.org/Debugging_in_WordPress
    */
    // define('WP_DEBUG', true);
    // define('WP_DEBUG_LOG', true);

    So, it does look like debugging IS on. Should it be? As far as the database pw – now I see what I posted to the forum – how do I safely change the pw for the database?

    Al

    #31737
    AITpro Admin
    Keymaster

    The double slashes // mean that that code is commented out.  So WP_DEBUG is not On.  Here is an InMotion hosting help page about how to change your database password:  http://www.inmotionhosting.com/support/website/databases/reset-database-password  You will also need to change your database password in your wp-config.php file.

    Do these steps in this order:
    1. Turn Off AutoRestore.
    2. Change your database password in cPanel using the help link above as a guide.
    3. Edit your wp-config.php file and change your password.  You can also do that in cPanel with whatever file manager tool that InMotion hosting/cPanel has.
    4. Go to the AutoRestore page and click the Root Files > Backup Files button.
    5. Turn AutoRestore back On.

    #31738
    alan sills
    Participant

    Thanks! Now one (potentially stupid) question – where do I go to turn off autorestore?

    #31739
    AITpro Admin
    Keymaster

    Yeah, AutoRestore would be on the AutoRestore page.  ha ha ha.  Go to the BPS Pro plugin main menu and you will see the AutoRestore submenu.  This BPS Pro troubleshooting forum topic has a screenshot image of all of the BPS Pro plugin menus:  https://forum.ait-pro.com/forums/topic/read-me-first-pro/#bps-pro-general-troubleshooting

    #31742
    alan sills
    Participant

    Mission accomplished (I think) – thanks!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.