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 /home2/roadninm/ncbis.road9media.net/wp-includes/functions.php on line 6131
Cannot modify header information - headers already sent by (output started at /home2/roadninm/ncbis.road9media.net/wp-includes/functions.php:6131) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Cannot modify header information - headers already sent by (output started at /home2/roadninm/ncbis.road9media.net/wp-includes/functions.php:6131)

Exception

ErrorException

Show exception properties
ErrorException {#3675
  #severity: E_WARNING
}
  1.         }
  2.         if ( $html ) {
  3.             ob_start();
  4.         } else {
  5.             header'Content-Type: text/xml; charset=utf-8' );
  6.         }
  7.         if ( empty( $options['params'] ) || 'index' === $options['params'] ) {
  8.             $this->build_sitemap_header'index' );
  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 /home2/roadninm/ncbis.road9media.net/wp-includes/functions.php:6131)', '/home2/roadninm/ncbis.road9media.net/wp-content/plugins/google-sitemap-generator/sitemap-core.php', 1961)
  1.         }
  2.         if ( $html ) {
  3.             ob_start();
  4.         } else {
  5.             header'Content-Type: text/xml; charset=utf-8' );
  6.         }
  7.         if ( empty( $options['params'] ) || 'index' === $options['params'] ) {
  8.             $this->build_sitemap_header'index' );
  1.     public static function call_show_sitemap$options ) {
  2.         $newFormat self::change_url_to_required();
  3.         if($newFormat$options $newFormat;
  4.         if ( self::load_plugin() ) {
  5.             GoogleSitemapGenerator::get_instance()->show_sitemap$options );
  6.         }
  7.     }
  8.     /* Get url and to transform required format */
  9.     public static function change_url_to_required(){
  1.         // @var $wp_query WP_Query .
  2.         global $wp_query;
  3.         if ( ! empty( $wp_query->query_vars['xml_sitemap'] ) ) {
  4.             $wp_query->is_404  false;
  5.             $wp_query->is_feed true;
  6.             self::call_show_sitemap$wp_query->query_vars['xml_sitemap'] );
  7.         }
  8.     }
  9.     /**
  10.      * Registers the plugin in the admin menu system
GoogleSitemapGeneratorLoader::do_template_redirect() in /home2/roadninm/ncbis.road9media.net/wp-includes/class-wp-hook.php (line 339)
  1.                     $args[0] = $value;
  2.                 }
  3.                 // Avoid the array_slice() if possible.
  4.                 if ( === $the_['accepted_args'] ) {
  5.                     $value call_user_func$the_['function'] );
  6.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  7.                     $value call_user_func_array$the_['function'], $args );
  8.                 } else {
  9.                     $value call_user_func_array$the_['function'], array_slice$args0$the_['accepted_args'] ) );
  10.                 }
WP_Hook->apply_filters(false, array('')) in /home2/roadninm/ncbis.road9media.net/wp-includes/class-wp-hook.php (line 365)
  1.      *
  2.      * @param array $args Parameters to pass to the callback functions.
  3.      */
  4.     public function do_action$args ) {
  5.         $this->doing_action true;
  6.         $this->apply_filters''$args );
  7.         // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
  8.         if ( ! $this->nesting_level ) {
  9.             $this->doing_action false;
  10.         }
WP_Hook->do_action(array('')) in /home2/roadninm/ncbis.road9media.net/wp-includes/plugin.php (line 522)
  1.     } elseif ( is_array$arg[0] ) && === count$arg[0] ) && isset( $arg[0][0] ) && is_object$arg[0][0] ) ) {
  2.         // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
  3.         $arg[0] = $arg[0][0];
  4.     }
  5.     $wp_filter$hook_name ]->do_action$arg );
  6.     array_pop$wp_current_filter );
  7. }
  8. /**
  1.      * the path to the new template you want to use. This will allow an alternative template to be used
  2.      * without interfering with the WordPress loading process.
  3.      *
  4.      * @since 1.5.0
  5.      */
  6.     do_action'template_redirect' );
  7. }
  8. /**
  9.  * Filters whether to allow 'HEAD' requests to generate content.
  10.  *
require_once('/home2/roadninm/ncbis.road9media.net/wp-includes/template-loader.php') in /home2/roadninm/ncbis.road9media.net/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/home2/roadninm/ncbis.road9media.net/wp-blog-header.php') in /home2/roadninm/ncbis.road9media.net/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define'WP_USE_THEMES'true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ '/wp-blog-header.php';

Stack Trace

ErrorException
ErrorException:
Cannot modify header information - headers already sent by (output started at /home2/roadninm/ncbis.road9media.net/wp-includes/functions.php:6131)

  at /home2/roadninm/ncbis.road9media.net/wp-content/plugins/google-sitemap-generator/sitemap-core.php:1961
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home2/roadninm/ncbis.road9media.net/wp-includes/functions.php:6131)', '/home2/roadninm/ncbis.road9media.net/wp-content/plugins/google-sitemap-generator/sitemap-core.php', 1961, array())
     (/home2/roadninm/ncbis.road9media.net/wp-content/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home2/roadninm/ncbis.road9media.net/wp-includes/functions.php:6131)', '/home2/roadninm/ncbis.road9media.net/wp-content/plugins/google-sitemap-generator/sitemap-core.php', 1961)
  at header('Content-Type: text/xml; charset=utf-8')
     (/home2/roadninm/ncbis.road9media.net/wp-content/plugins/google-sitemap-generator/sitemap-core.php:1961)
  at GoogleSitemapGenerator->show_sitemap(array('params' => ''))
     (/home2/roadninm/ncbis.road9media.net/wp-content/plugins/google-sitemap-generator/class-googlesitemapgeneratorloader.php:768)
  at GoogleSitemapGeneratorLoader::call_show_sitemap('params=')
     (/home2/roadninm/ncbis.road9media.net/wp-content/plugins/google-sitemap-generator/class-googlesitemapgeneratorloader.php:252)
  at GoogleSitemapGeneratorLoader::do_template_redirect()
     (/home2/roadninm/ncbis.road9media.net/wp-includes/class-wp-hook.php:339)
  at WP_Hook->apply_filters(false, array(''))
     (/home2/roadninm/ncbis.road9media.net/wp-includes/class-wp-hook.php:365)
  at WP_Hook->do_action(array(''))
     (/home2/roadninm/ncbis.road9media.net/wp-includes/plugin.php:522)
  at do_action('template_redirect')
     (/home2/roadninm/ncbis.road9media.net/wp-includes/template-loader.php:23)
  at require_once('/home2/roadninm/ncbis.road9media.net/wp-includes/template-loader.php')
     (/home2/roadninm/ncbis.road9media.net/wp-blog-header.php:19)
  at require('/home2/roadninm/ncbis.road9media.net/wp-blog-header.php')
     (/home2/roadninm/ncbis.road9media.net/index.php:17)