Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php on line 6170

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpsl domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php on line 6170

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php on line 6170
Cannot modify header information - headers already sent by (output started at /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php:6170) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Cannot modify header information - headers already sent by (output started at /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php:6170)

Exception

ErrorException

  1.          * @param int          $status        Status code to use.
  2.          * @param string       $location      The path to redirect to.
  3.          */
  4.         $x_redirect_by apply_filters'x_redirect_by'$x_redirect_by$status$location );
  5.         if ( is_string$x_redirect_by ) ) {
  6.             header"X-Redirect-By: $x_redirect_by);
  7.         }
  8.         header"Location: $location"true$status );
  9.         return true;
  1.      * @throws \ErrorException
  2.      */
  3.     public function handleError($level$message$file ''$line 0$context = [])
  4.     {
  5.         try {
  6.             parent::handleError($level$message$file$line$context);
  7.         } catch (Throwable $e) {
  8.             if (! apply_filters('acorn/throw_error_exception'true$e)) {
  9.                 return false;
  10.             }
HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php:6170)', '/home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php', 1535)
header('X-Redirect-By: WordPress') in /home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php (line 1535)
  1.          * @param int          $status        Status code to use.
  2.          * @param string       $location      The path to redirect to.
  3.          */
  4.         $x_redirect_by apply_filters'x_redirect_by'$x_redirect_by$status$location );
  5.         if ( is_string$x_redirect_by ) ) {
  6.             header"X-Redirect-By: $x_redirect_by);
  7.         }
  8.         header"Location: $location"true$status );
  9.         return true;
wp_redirect('https://staging.prevailfarm.ca/wp-login.php?redirect_to=https%3A%2F%2Fstaging.prevailfarm.ca%2Fwp-admin%2Fedit.php%3Fpost_type%3Dpage&reauth=1') in /home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php (line 1348)
  1.             $redirect set_url_scheme'http://' $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
  2.         }
  3.         $login_url wp_login_url$redirecttrue );
  4.         wp_redirect$login_url );
  5.         exit;
  6.     }
  7. endif;
  8. if ( ! function_exists'check_admin_referer' ) ) :
  1.     }
  2. }
  3. require_once ABSPATH 'wp-admin/includes/admin.php';
  4. auth_redirect();
  5. // Schedule Trash collection.
  6. if ( ! wp_next_scheduled'wp_scheduled_delete' ) && ! wp_installing() ) {
  7.     wp_schedule_eventtime(), 'daily''wp_scheduled_delete' );
  8. }
require_once('/home/prevailfarm/staging.prevailfarm.ca/wp-admin/admin.php') in /home/prevailfarm/staging.prevailfarm.ca/wp-admin/edit.php (line 10)
  1.  * @package WordPress
  2.  * @subpackage Administration
  3.  */
  4. /** WordPress Administration Bootstrap */
  5. require_once __DIR__ '/admin.php';
  6. /**
  7.  * @global string $typenow The post type of the current screen.
  8.  */
  9. global $typenow;

Stack Trace

ErrorException
ErrorException:
Cannot modify header information - headers already sent by (output started at /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php:6170)

  at /home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php:1535
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php:6170)', '/home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php', 1535, array())
     (/home/prevailfarm/staging.prevailfarm.ca/wp-content/themes/prevail/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home/prevailfarm/staging.prevailfarm.ca/wp-includes/functions.php:6170)', '/home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php', 1535)
  at header('X-Redirect-By: WordPress')
     (/home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php:1535)
  at wp_redirect('https://staging.prevailfarm.ca/wp-login.php?redirect_to=https%3A%2F%2Fstaging.prevailfarm.ca%2Fwp-admin%2Fedit.php%3Fpost_type%3Dpage&reauth=1')
     (/home/prevailfarm/staging.prevailfarm.ca/wp-includes/pluggable.php:1348)
  at auth_redirect()
     (/home/prevailfarm/staging.prevailfarm.ca/wp-admin/admin.php:104)
  at require_once('/home/prevailfarm/staging.prevailfarm.ca/wp-admin/admin.php')
     (/home/prevailfarm/staging.prevailfarm.ca/wp-admin/edit.php:10)