Deprecated: PragmaRX\Recovery\Recovery::__construct(): Implicitly marking parameter $random as nullable is deprecated, the explicit nullable type must be used instead in /var/data/html/informacionambiental.ambiente.gob.do/web/app/plugins/sg-security/vendor/pragmarx/recovery/src/Recovery.php on line 28

Deprecated: Illuminate\Support\Traits\Conditionable::when(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/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 /var/data/html/informacionambiental.ambiente.gob.do/vendor/illuminate/routing/Router.php on line 1164
Cannot modify header information - headers already sent by (output started at /var/data/html/informacionambiental.ambiente.gob.do/vendor/illuminate/collections/Collection.php:385) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Cannot modify header information - headers already sent by (output started at /var/data/html/informacionambiental.ambiente.gob.do/vendor/illuminate/collections/Collection.php:385)

Exception

ErrorException

Show exception properties
ErrorException {#764
  #severity: E_WARNING
}
  1. * Any LWS that occurs between field-content MAY be replaced with a
  2. * single SP before interpreting the field value or forwarding the
  3. * message downstream.
  4. */
  5. $value = preg_replace( '/\s+/', ' ', $value );
  6. header( sprintf( '%s: %s', $key, $value ) );
  7. }
  8. /**
  9. * Sends multiple HTTP headers.
  10. *
  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. * Any LWS that occurs between field-content MAY be replaced with a
  2. * single SP before interpreting the field value or forwarding the
  3. * message downstream.
  4. */
  5. $value = preg_replace( '/\s+/', ' ', $value );
  6. header( sprintf( '%s: %s', $key, $value ) );
  7. }
  8. /**
  9. * Sends multiple HTTP headers.
  10. *
  1. if ( isset( $_GET['_jsonp'] ) ) {
  2. $jsonp_callback = $_GET['_jsonp'];
  3. }
  4. $content_type = ( $jsonp_callback && $jsonp_enabled ) ? 'application/javascript' : 'application/json';
  5. $this->send_header( 'Content-Type', $content_type . '; charset=' . get_option( 'blog_charset' ) );
  6. $this->send_header( 'X-Robots-Tag', 'noindex' );
  7. $api_root = get_rest_url();
  8. if ( ! empty( $api_root ) ) {
  9. $this->send_header( 'Link', '<' . sanitize_url( $api_root ) . '>; rel="https://api.w.org/"' );
  1. // Fire off the request.
  2. $route = untrailingslashit( $GLOBALS['wp']->query_vars['rest_route'] );
  3. if ( empty( $route ) ) {
  4. $route = '/';
  5. }
  6. $server->serve_request( $route );
  7. // We're done.
  8. die();
  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 2.1.0
  3. *
  4. * @param WP $wp Current WordPress environment instance (passed by reference).
  5. */
  6. do_action_ref_array( 'parse_request', array( &$this ) );
  7. return true;
  8. }
  9. /**
  1. * @param string|array $query_args Passed to parse_request().
  2. */
  3. public function main( $query_args = '' ) {
  4. $this->init();
  5. $parsed = $this->parse_request( $query_args );
  6. if ( $parsed ) {
  7. $this->query_posts();
  8. $this->handle_404();
  9. $this->register_globals();
  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('/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-blog-header.php') in /var/data/html/informacionambiental.ambiente.gob.do/web/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 /var/data/html/informacionambiental.ambiente.gob.do/vendor/illuminate/collections/Collection.php:385)

  at /var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/rest-api/class-wp-rest-server.php:1831
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/var/data/html/informacionambiental.ambiente.gob.do/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
  at header()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/rest-api/class-wp-rest-server.php:1831)
  at WP_REST_Server->send_header()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/rest-api/class-wp-rest-server.php:318)
  at WP_REST_Server->serve_request()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/rest-api.php:420)
  at rest_api_loaded()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/class-wp-hook.php:324)
  at WP_Hook->apply_filters()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/class-wp-hook.php:348)
  at WP_Hook->do_action()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/plugin.php:565)
  at do_action_ref_array()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/class-wp.php:418)
  at WP->parse_request()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/class-wp.php:813)
  at WP->main()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-includes/functions.php:1336)
  at wp()
     (/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-blog-header.php:16)
  at require('/var/data/html/informacionambiental.ambiente.gob.do/web/wp/wp-blog-header.php')
     (/var/data/html/informacionambiental.ambiente.gob.do/web/index.php:6)