Title: tools.php error
Last modified: July 10, 2023

---

# tools.php error

 *  Resolved [Aubrey](https://wordpress.org/support/users/sleepingsage/)
 * (@sleepingsage)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/tools-php-error/)
 * Hello. I am not experiencing any noticeable issues per se, but I am receiving
   this error in my error logs:
   [10-Jul-2023 01:45:33 UTC] PHP Warning: Cannot modify
   header information – headers already sent in /home/user/x.y/wp-content/plugins/
   tutor/classes/Tools.php on line 104.
 * Is there something I should do or address?

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

 *  [largbasket](https://wordpress.org/support/users/largbasket/)
 * (@largbasket)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/tools-php-error/#post-16885965)
 * Dear [@sleepingsage](https://wordpress.org/support/users/sleepingsage/) 
   We apologize
   for the issue you’re experiencing. It appears to be a website-specific problem
   and to properly diagnose and resolve it, we would need to thoroughly inspect 
   your website. Please reach out to us at [https://www.themeum.com/support/](https://www.themeum.com/support/)
   for assistance.Thank you.
 *  Thread Starter [Aubrey](https://wordpress.org/support/users/sleepingsage/)
 * (@sleepingsage)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/tools-php-error/#post-16887052)
 * Okay, that’s quite odd, though, as I have barely made any modifications directly
   to tutor since installing it. I have been working on the backend as well as other
   plugins. I think the extent to which I have modified Tutor directly are some 
   settings found within the panels, and a couple of text blocks on a page. Strange.
   
   I submitted an email to support.
    -  This reply was modified 2 years, 11 months ago by [Aubrey](https://wordpress.org/support/users/sleepingsage/).
 *  Thread Starter [Aubrey](https://wordpress.org/support/users/sleepingsage/)
 * (@sleepingsage)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/tools-php-error/#post-16887504)
 * Oh, I believe the error is with regard to it being placed in maintenance mode.
 *     ```wp-block-code
           public function check_if_maintenance() {
   
               if ( ! is_admin() && ! $this->is_wplogin() ) {
   
                   $maintenance_mode = (bool) get_tutor_option( 'enable_tutor_maintenance_mode' );
   
                   if ( false === $maintenance_mode || current_user_can( 'administrator' ) ) {
   
                       return;
   
                   }
   
       104---->    header( 'Retry-After: 600' );
   
                   include tutor()->path . 'views/maintenance.php';
   
                   die();
   
               }
   
           }
       ```
   

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

The topic ‘tools.php error’ is closed to new replies.

 * ![](https://ps.w.org/tutor/assets/icon-256x256.gif?rev=3193875)
 * [Tutor LMS - eLearning and online course solution](https://wordpress.org/plugins/tutor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tutor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tutor/)
 * [Active Topics](https://wordpress.org/support/plugin/tutor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tutor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tutor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Aubrey](https://wordpress.org/support/users/sleepingsage/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/tools-php-error/#post-16887504)
 * Status: resolved