Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home4/decorl12/public_html/web/app/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php on line 576
Cannot modify header information - headers already sent by (output started at /home4/decorl12/public_html/web/app/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:576) (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Cannot modify header information - headers already sent by (output started at /home4/decorl12/public_html/web/app/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:576)

Exception

ErrorException

Show exception properties
ErrorException {#2054
  #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.         headersprintf'%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(2, 'Cannot modify header information - headers already sent by (output started at /home4/decorl12/public_html/web/app/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:576)', '/home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php', 1893)
header('Content-Type: application/json; charset=UTF-8') in /home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php (line 1893)
  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.         headersprintf'%s: %s'$key$value ) );
  7.     }
  8.     /**
  9.      * Sends multiple HTTP headers.
  10.      *
WP_REST_Server->send_header('Content-Type', 'application/json; charset=UTF-8') in /home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php (line 318)
  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/"' );
WP_REST_Server->serve_request('/oembed/1.0/embed') in /home4/decorl12/public_html/web/wp/wp-includes/rest-api.php (line 449)
  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 ( === $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$args0$the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
WP_Hook->apply_filters(null, array(object(WP))) in /home4/decorl12/public_html/web/wp/wp-includes/class-wp-hook.php (line 348)
  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(object(WP))) in /home4/decorl12/public_html/web/wp/wp-includes/plugin.php (line 565)
  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. /**
do_action_ref_array('parse_request', array(object(WP))) in /home4/decorl12/public_html/web/wp/wp-includes/class-wp.php (line 418)
  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('/home4/decorl12/public_html/web/wp/wp-blog-header.php') in /home4/decorl12/public_html/index.php (line 17)
  1.  * @var bool
  2.  */
  3. define'WP_USE_THEMES'true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ '/web/wp/wp-blog-header.php';

Stack Trace

ErrorException
ErrorException:
Cannot modify header information - headers already sent by (output started at /home4/decorl12/public_html/web/app/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:576)

  at /home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php:1893
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Cannot modify header information - headers already sent by (output started at /home4/decorl12/public_html/web/app/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:576)', '/home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php', 1893, array())
     (/home4/decorl12/public_html/web/app/themes/decorlux/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 /home4/decorl12/public_html/web/app/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:576)', '/home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php', 1893)
  at header('Content-Type: application/json; charset=UTF-8')
     (/home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php:1893)
  at WP_REST_Server->send_header('Content-Type', 'application/json; charset=UTF-8')
     (/home4/decorl12/public_html/web/wp/wp-includes/rest-api/class-wp-rest-server.php:318)
  at WP_REST_Server->serve_request('/oembed/1.0/embed')
     (/home4/decorl12/public_html/web/wp/wp-includes/rest-api.php:449)
  at rest_api_loaded(object(WP))
     (/home4/decorl12/public_html/web/wp/wp-includes/class-wp-hook.php:324)
  at WP_Hook->apply_filters(null, array(object(WP)))
     (/home4/decorl12/public_html/web/wp/wp-includes/class-wp-hook.php:348)
  at WP_Hook->do_action(array(object(WP)))
     (/home4/decorl12/public_html/web/wp/wp-includes/plugin.php:565)
  at do_action_ref_array('parse_request', array(object(WP)))
     (/home4/decorl12/public_html/web/wp/wp-includes/class-wp.php:418)
  at WP->parse_request('')
     (/home4/decorl12/public_html/web/wp/wp-includes/class-wp.php:813)
  at WP->main('')
     (/home4/decorl12/public_html/web/wp/wp-includes/functions.php:1336)
  at wp()
     (/home4/decorl12/public_html/web/wp/wp-blog-header.php:16)
  at require('/home4/decorl12/public_html/web/wp/wp-blog-header.php')
     (/home4/decorl12/public_html/index.php:17)