Home › Forums › BulletProof Security Pro › Setup Wizard PHP Error – PHP Warning: Cannot modify header information – headers already sent
Tagged: php error
- This topic has 8 replies, 2 voices, and was last updated 8 years, 2 months ago by
alan sills.
-
AuthorPosts
-
alan sills
ParticipantI 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.
AITpro Admin
KeymasterYou 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?
alan sills
ParticipantI 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)
AITpro Admin
KeymasterYikes, 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.
alan sills
ParticipantI 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
AITpro Admin
KeymasterThe 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.alan sills
ParticipantThanks! Now one (potentially stupid) question – where do I go to turn off autorestore?
AITpro Admin
KeymasterYeah, 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
alan sills
ParticipantMission accomplished (I think) – thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.