Deprecated: Illuminate\Support\Traits\Conditionable::when(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/conditionable/Traits/Conditionable.php on line 21

Deprecated: Illuminate\Support\Traits\Conditionable::when(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/conditionable/Traits/Conditionable.php on line 21

Deprecated: Illuminate\Support\Traits\Conditionable::unless(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/conditionable/Traits/Conditionable.php on line 53

Deprecated: Illuminate\Support\Traits\Conditionable::unless(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/conditionable/Traits/Conditionable.php on line 53

Deprecated: Illuminate\Container\Container::beforeResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/container/Container.php on line 1151

Deprecated: Illuminate\Container\Container::resolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/container/Container.php on line 1171

Deprecated: Illuminate\Container\Container::afterResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/container/Container.php on line 1191

Deprecated: Illuminate\Container\Container::setInstance(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/container/Container.php on line 1430

Deprecated: Illuminate\Contracts\Container\Container::beforeResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/contracts/Container/Container.php on line 200

Deprecated: Illuminate\Contracts\Container\Container::resolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/contracts/Container/Container.php on line 209

Deprecated: Illuminate\Contracts\Container\Container::afterResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/contracts/Container/Container.php on line 218

Deprecated: Illuminate\Support\Collection::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Collection.php on line 385

Deprecated: Illuminate\Support\Collection::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Collection.php on line 403

Deprecated: Illuminate\Support\Collection::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Collection.php on line 751

Deprecated: Illuminate\Support\Traits\EnumeratesValues::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php on line 167

Deprecated: Illuminate\Support\Traits\EnumeratesValues::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php on line 537

Deprecated: Illuminate\Support\Traits\EnumeratesValues::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php on line 551

Deprecated: Illuminate\Support\Traits\EnumeratesValues::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php on line 565

Deprecated: Illuminate\Support\Traits\EnumeratesValues::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php on line 579

Deprecated: Illuminate\Support\Enumerable::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 41

Deprecated: Illuminate\Support\Enumerable::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 299

Deprecated: Illuminate\Support\Enumerable::when(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 311

Deprecated: Illuminate\Support\Enumerable::when(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 311

Deprecated: Illuminate\Support\Enumerable::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 322

Deprecated: Illuminate\Support\Enumerable::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 333

Deprecated: Illuminate\Support\Enumerable::unless(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 345

Deprecated: Illuminate\Support\Enumerable::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 356

Deprecated: Illuminate\Support\Enumerable::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 367

Deprecated: Illuminate\Support\Enumerable::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 479

Deprecated: Illuminate\Support\Enumerable::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Enumerable.php on line 621

Deprecated: Illuminate\Support\Arr::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Arr.php on line 188

Deprecated: Illuminate\Support\Arr::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/collections/Arr.php on line 219

Deprecated: Illuminate\Support\Str::createRandomStringsUsing(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/support/Str.php on line 962

Deprecated: Illuminate\Support\Str::createUuidsUsing(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/support/Str.php on line 1668

Deprecated: Illuminate\Support\Str::freezeUuids(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/support/Str.php on line 1713

Deprecated: Illuminate\Support\Str::createUlidsUsing(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/support/Str.php on line 1775

Deprecated: Illuminate\Support\Str::freezeUlids(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/support/Str.php on line 1820

Deprecated: Illuminate\Routing\Router::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/routing/Router.php on line 143

Deprecated: Illuminate\Routing\Router::model(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/routing/Router.php on line 1164

Deprecated: Illuminate\Events\Dispatcher::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/events/Dispatcher.php on line 75

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $cookies as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $files as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $server as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Request.php on line 502

Deprecated: Illuminate\Http\Concerns\InteractsWithInput::whenHas(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Concerns/InteractsWithInput.php on line 123

Deprecated: Illuminate\Http\Concerns\InteractsWithInput::whenFilled(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Concerns/InteractsWithInput.php on line 201

Deprecated: Illuminate\Http\Concerns\InteractsWithInput::whenMissing(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/http/Concerns/InteractsWithInput.php on line 235

Deprecated: voku\helper\ASCII::to_ascii(): Implicitly marking parameter $replace_single_chars_only as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/voku/portable-ascii/src/voku/helper/ASCII.php on line 795

Deprecated: Illuminate\Database\Eloquent\Model::replicate(): Implicitly marking parameter $except as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/database/Eloquent/Model.php on line 1721

Deprecated: Illuminate\Database\Eloquent\Model::replicateQuietly(): Implicitly marking parameter $except as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/database/Eloquent/Model.php on line 1749

Deprecated: Illuminate\View\View::render(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/view/View.php on line 156

Deprecated: Illuminate\View\FileViewFinder::__construct(): Implicitly marking parameter $extensions as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/view/FileViewFinder.php on line 53

Deprecated: Illuminate\View\Engines\CompilerEngine::__construct(): Implicitly marking parameter $files as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/view/Engines/CompilerEngine.php on line 42

Deprecated: Illuminate\View\Compilers\BladeCompiler::anonymousComponentPath(): Implicitly marking parameter $prefix as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/view/Compilers/BladeCompiler.php on line 811

Deprecated: Illuminate\View\Compilers\BladeCompiler::anonymousComponentNamespace(): Implicitly marking parameter $prefix as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/view/Compilers/BladeCompiler.php on line 833

Deprecated: Carbon\Traits\Date::getDaysFromStartOfWeek(): Implicitly marking parameter $weekStartsAt as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1394

Deprecated: Carbon\Traits\Date::setDaysFromStartOfWeek(): Implicitly marking parameter $weekStartsAt as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1412

Deprecated: Carbon\Traits\Date::utcOffset(): Implicitly marking parameter $minuteOffset as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1481

Deprecated: Carbon\Traits\Localization::locale(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php on line 447

Deprecated: Carbon\Traits\Test::setDefaultTimezone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/Traits/Test.php on line 203

Deprecated: Illuminate\Log\Logger::__construct(): Implicitly marking parameter $dispatcher as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/illuminate/log/Logger.php on line 46

Deprecated: Carbon\AbstractTranslator::__construct(): Implicitly marking parameter $formatter as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/AbstractTranslator.php on line 81

Deprecated: Carbon\CarbonPeriod::getStartDate(): Implicitly marking parameter $rounding as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php on line 1020

Deprecated: Carbon\CarbonPeriod::getEndDate(): Implicitly marking parameter $rounding as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php on line 1034

Deprecated: Carbon\CarbonPeriod::calculateEnd(): Implicitly marking parameter $rounding as nullable is deprecated, the explicit nullable type must be used instead in /home/qscienti/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php on line 1902
Cannot modify header information - headers already sent by (output started at /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php:167) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Cannot modify header information - headers already sent by (output started at /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php:167)

Exception

ErrorException

Show exception properties
ErrorException {#3608
  #severity: E_WARNING
}
  1. * @param array $headers HTTP headers.
  2. * @param bool $is_xsl Whether these headers are for XSL.
  3. */
  4. $headers = $this->do_filter( 'sitemap/http_headers', $headers, $is_xsl );
  5. header( $this->get_protocol() . ' 200 OK', true, 200 );
  6. foreach ( $headers as $header => $value ) {
  7. header( $header . ': ' . $value );
  8. }
  9. }
  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()
  1. * @param array $headers HTTP headers.
  2. * @param bool $is_xsl Whether these headers are for XSL.
  3. */
  4. $headers = $this->do_filter( 'sitemap/http_headers', $headers, $is_xsl );
  5. header( $this->get_protocol() . ' 200 OK', true, 200 );
  6. foreach ( $headers as $header => $value ) {
  7. header( $header . ': ' . $value );
  8. }
  9. }
  1. $wp_query->set_404();
  2. status_header( 404 );
  3. return;
  4. }
  5. $this->send_headers();
  6. echo $this->sitemap; // phpcs:ignore
  7. $this->output_credits();
  8. remove_all_actions( 'wp_footer' );
  9. die;
  10. }
  1. $this->filter( 'user_has_cap', 'filter_user_has_cap' );
  2. $this->type = $type;
  3. $this->cache = new Cache();
  4. $this->set_n( get_query_var( 'sitemap_n' ) );
  5. $this->output();
  6. }
  7. /**
  8. * Generate sitemap now.
  9. */
  1. $type = get_query_var( 'sitemap' );
  2. if ( empty( $type ) ) {
  3. return;
  4. }
  5. new Sitemap_XML( $type );
  6. }
  7. /**
  8. * Check the current request URI, if we can determine it's probably an XML sitemap, kill loading the widgets.
  9. */
  1. // Avoid the array_slice() if possible.
  2. if ( 0 === $the_['accepted_args'] ) {
  3. $value = call_user_func( $the_['function'] );
  4. } elseif ( $the_['accepted_args'] >= $num_args ) {
  5. $value = call_user_func_array( $the_['function'], $args );
  6. } else {
  7. $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
  8. }
  9. }
  10. } while ( false !== next( $this->iterations[ $nesting_level ] ) );
  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. }
  1. if ( ! isset( $wp_filter['all'] ) ) {
  2. $wp_current_filter[] = $hook_name;
  3. }
  4. $wp_filter[ $hook_name ]->do_action( $args );
  5. array_pop( $wp_current_filter );
  6. }
  7. /**
  1. *
  2. * @since 1.5.0
  3. *
  4. * @param WP_Query $query The WP_Query instance (passed by reference).
  5. */
  6. do_action_ref_array( 'parse_query', array( &$this ) );
  7. }
  8. /**
  9. * Parses various taxonomy related query vars.
  10. *
  1. * @return WP_Post[]|int[] Array of post objects or post IDs.
  2. */
  3. public function get_posts() {
  4. global $wpdb;
  5. $this->parse_query();
  6. /**
  7. * Fires after the query variable object is created, but before the actual query is run.
  8. *
  9. * Note: If using conditional tags, use the method versions within the passed instance
  1. */
  2. public function query( $query ) {
  3. $this->init();
  4. $this->query = wp_parse_args( $query );
  5. $this->query_vars = $this->query;
  6. return $this->get_posts();
  7. }
  8. /**
  9. * Retrieves the currently queried object.
  10. *
  1. * @global WP_Query $wp_the_query WordPress Query object.
  2. */
  3. public function query_posts() {
  4. global $wp_the_query;
  5. $this->build_query_string();
  6. $wp_the_query->query( $this->query_vars );
  7. }
  8. /**
  9. * Set the Headers for 404, if nothing is found for requested URL.
  10. *
  1. $this->init();
  2. $parsed = $this->parse_request( $query_args );
  3. if ( $parsed ) {
  4. $this->query_posts();
  5. $this->handle_404();
  6. $this->register_globals();
  7. }
  8. $this->send_headers();
  1. * @param string|array $query_vars Default WP_Query arguments.
  2. */
  3. function wp( $query_vars = '' ) {
  4. global $wp, $wp_query, $wp_the_query;
  5. $wp->main( $query_vars );
  6. if ( ! isset( $wp_the_query ) ) {
  7. $wp_the_query = $wp_query;
  8. }
  9. }
  1. // Load the WordPress library.
  2. require_once __DIR__ . '/wp-load.php';
  3. // Set up the WordPress query.
  4. wp();
  5. // Load the theme template.
  6. require_once ABSPATH . WPINC . '/template-loader.php';
  7. }
require('/home/qscienti/public_html/wp/wp-blog-header.php') in /home/qscienti/public_html/index.php (line 6)
  1. <?php
  2. /**
  3. * WordPress View Bootstrapper
  4. */
  5. define('WP_USE_THEMES', true);
  6. require __DIR__ . '/wp/wp-blog-header.php';

Stack Trace

ErrorException
ErrorException:
Cannot modify header information - headers already sent by (output started at /home/qscienti/vendor/illuminate/collections/Traits/EnumeratesValues.php:167)

  at /home/qscienti/public_html/app/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php:66
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/home/qscienti/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
  at header()
     (/home/qscienti/public_html/app/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php:66)
  at RankMath\Sitemap\XML->send_headers()
     (/home/qscienti/public_html/app/plugins/seo-by-rank-math/includes/modules/sitemap/class-sitemap-xml.php:102)
  at RankMath\Sitemap\Sitemap_XML->output()
     (/home/qscienti/public_html/app/plugins/seo-by-rank-math/includes/modules/sitemap/class-sitemap-xml.php:82)
  at RankMath\Sitemap\Sitemap_XML->__construct()
     (/home/qscienti/public_html/app/plugins/seo-by-rank-math/includes/modules/sitemap/class-router.php:86)
  at RankMath\Sitemap\Router->request_sitemap()
     (/home/qscienti/public_html/wp/wp-includes/class-wp-hook.php:353)
  at WP_Hook->apply_filters()
     (/home/qscienti/public_html/wp/wp-includes/class-wp-hook.php:377)
  at WP_Hook->do_action()
     (/home/qscienti/public_html/wp/wp-includes/plugin.php:571)
  at do_action_ref_array()
     (/home/qscienti/public_html/wp/wp-includes/class-wp-query.php:1164)
  at WP_Query->parse_query()
     (/home/qscienti/public_html/wp/wp-includes/class-wp-query.php:1903)
  at WP_Query->get_posts()
     (/home/qscienti/public_html/wp/wp-includes/class-wp-query.php:3974)
  at WP_Query->query()
     (/home/qscienti/public_html/wp/wp-includes/class-wp.php:704)
  at WP->query_posts()
     (/home/qscienti/public_html/wp/wp-includes/class-wp.php:825)
  at WP->main()
     (/home/qscienti/public_html/wp/wp-includes/functions.php:1352)
  at wp()
     (/home/qscienti/public_html/wp/wp-blog-header.php:16)
  at require('/home/qscienti/public_html/wp/wp-blog-header.php')
     (/home/qscienti/public_html/index.php:6)