• Resolved connorv

    (@connorv)


    Hi!! I’m new to WordPress. I’m attempting to run the database repair tool to just check for errors to solve a deeper rooted issue.

    When I run /wp-admin/maint/repair.php, I get this error:

    “define(‘WP_ALLOW_REPAIR’, true);
    Warning: Cannot modify header information – headers already sent by (output started at /home/prvtres9/public_html/wp-config.php:93) in public_html/wp-admin/maint/repair.php on line 12

    To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.”

    I searched around on stack overflow and all of the problems that had a similar error message were to completely other php files.. None of them applied. Any tips?

Viewing 1 replies (of 1 total)
  • Thread Starter connorv

    (@connorv)

    Got it! Accidentally put define(‘WP_ALLOW_REPAIR’, true); after ?> in the php file instead of before. I’m human garbage!!!

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress beginner – "Warning: Cannot modify header information" error’ is closed to new replies.