( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.12878631976WP_REST_Server->send_header( $key = 'Content-Type', $value = 'application/json; charset=UTF-8' ).../class-wp-rest-server.php:282
120.12878632360header( $header = 'Content-Type: application/json; charset=UTF-8' ).../class-wp-rest-server.php:1667

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.12908632616WP_REST_Server->send_header( $key = 'X-Robots-Tag', $value = 'noindex' ).../class-wp-rest-server.php:283
120.12908632936header( $header = 'X-Robots-Tag: noindex' ).../class-wp-rest-server.php:1667

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.12928649160WP_REST_Server->send_header( $key = 'Link', $value = '<https://rajindersoni.com/wp-json/>; rel="https://api.w.org/"' ).../class-wp-rest-server.php:287
120.12928649576header( $header = 'Link: <https://rajindersoni.com/wp-json/>; rel="https://api.w.org/"' ).../class-wp-rest-server.php:1667

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.12948649064WP_REST_Server->send_header( $key = 'X-Content-Type-Options', $value = 'nosniff' ).../class-wp-rest-server.php:295
120.12948649384header( $header = 'X-Content-Type-Options: nosniff' ).../class-wp-rest-server.php:1667

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.12958665512WP_REST_Server->send_header( $key = 'Access-Control-Expose-Headers', $value = 'X-WP-Total, X-WP-TotalPages, Link' ).../class-wp-rest-server.php:307
120.12958665896header( $header = 'Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages, Link' ).../class-wp-rest-server.php:1667

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.12968665560WP_REST_Server->send_header( $key = 'Access-Control-Allow-Headers', $value = 'Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type' ).../class-wp-rest-server.php:331
120.12968665992header( $header = 'Access-Control-Allow-Headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type' ).../class-wp-rest-server.php:1667

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.14768906808WP_REST_Server->send_headers( $headers = ['Link' => '<https://rajindersoni.com/why-writers-should-be-great-marketers/>; rel="alternate"; type=text/html', 'Allow' => 'GET'] ).../class-wp-rest-server.php:446
120.14768906808WP_REST_Server->send_header( $key = 'Link', $value = '<https://rajindersoni.com/why-writers-should-be-great-marketers/>; rel="alternate"; type=text/html' ).../class-wp-rest-server.php:1679
130.14768907288header( $header = 'Link: <https://rajindersoni.com/why-writers-should-be-great-marketers/>; rel="alternate"; type=text/html' ).../class-wp-rest-server.php:1667

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/rajindersoni/public_html/index.php:4) in /home/rajindersoni/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1667
Call Stack
#TimeMemoryFunctionLocation
10.0003353944{main}( ).../index.php:0
20.0004354552require( '/home/rajindersoni/public_html/wp-blog-header.php ).../index.php:23
30.11817191608wp( $query_vars = ??? ).../wp-blog-header.php:16
40.11817191640WP->main( $query_args = '' ).../functions.php:1291
50.11817191640WP->parse_request( $extra_query_vars = '' ).../class-wp.php:750
60.11847233368do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp.php:388
70.11847233368WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../plugin.php:518
80.11847233368WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE }] ).../class-wp-hook.php:327
90.11847234496rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'e-landing-page', 48 => 'elementor_library', 49 => 'elementskit_content', 50 => 'elementskit_template', 51 => 'elementskit_widget', 52 => 'rest_route', 53 => 'sitemap', 54 => 'sitemap-subtype', 55 => 'sitemap-stylesheet']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/wp/v2/posts/170']; public $query_string = NULL; public $request = 'wp-json/wp/v2/posts/170'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/wp%2Fv2%2Fposts%2F170'; public $did_permalink = TRUE } ).../class-wp-hook.php:303
100.12878631920WP_REST_Server->serve_request( $path = '/wp/v2/posts/170' ).../rest-api.php:370
110.14768906808WP_REST_Server->send_headers( $headers = ['Link' => '<https://rajindersoni.com/why-writers-should-be-great-marketers/>; rel="alternate"; type=text/html', 'Allow' => 'GET'] ).../class-wp-rest-server.php:446
120.14798923192WP_REST_Server->send_header( $key = 'Allow', $value = 'GET' ).../class-wp-rest-server.php:1679
130.14798923512header( $header = 'Allow: GET' ).../class-wp-rest-server.php:1667
{"id":170,"date":"2020-03-17T10:46:16","date_gmt":"2020-03-17T10:46:16","guid":{"rendered":"http:\/\/rajindersoni.com\/?p=170"},"modified":"2020-03-17T10:46:16","modified_gmt":"2020-03-17T10:46:16","slug":"why-writers-should-be-great-marketers","status":"publish","type":"post","link":"https:\/\/rajindersoni.com\/why-writers-should-be-great-marketers\/","title":{"rendered":"Why Writers Should Be Great Marketers?"},"content":{"rendered":"\n

Writing is a noble occupation, but in today\u2019s world, writers should also be good marketers. Writing is one thing but marketing your writing is a totally different game. If your purpose is earning money through your writing then you need to learn marketing. In fact, if a writer is really good at the craft and not so good in marketing all their efforts will go in vain as they will bring just pennies on the table for their family but if a writer has learned the power of influencing buyer\u2019s decisions through their writing then they can bring a lot of money every day from the same efforts. A good writer is an influencer and can change people’s opinions with his writing. The opinion may be related to a thought, an ideology or money. This is the reason why copywriters are in such high demand. They get paid three times more than an average writer. They write such powerful copies that people reading them take action. They are hired by popular brands. If a copywriter is also a niche dominator and social media influencer they get paid what they ask for. Simple! <\/p>\n\n\n\n

The goal of writing is to inspire\nand add value to people. Marketing is helping people take decision. Marketing\nis also important to a writer because of the following reasons:<\/p>\n\n\n\n

  1. Without\nmarketing, nobody will know about your writing.<\/li>
  2. Without\nmarketing, you will be unable to brand yourself.<\/li>
  3. You\nwould not be making any money without marketing.<\/li>
  4. The\nwriting industry is becoming competitive so in order to survive writers need to\nlearn marketing skills.<\/li>
  5. It\nis not a matter of luck or chance. You must have a solid marketing strategy in\nplace.<\/li><\/ol>\n\n\n\n

    Traditional publishing is a very\ncostly and extremely long-drawn process. So self-publishing is the best way to\nmarket your writing. In other words, if you do not learn marketing, you would\nnot be able to get exposure and you would not make money.<\/p>\n\n\n\n

    If you call yourself a writer, it\nis obvious that you want to do it full time. If you want to do it full time,\nyou have to earn money from your writing.<\/p>\n\n\n\n

    This cannot be done if nobody\nknows about you and if nobody pays you.<\/p>\n\n\n\n

    How to market your writing?<\/p>\n\n\n\n

    There are basically two ways to\nmarket your writing:<\/p>\n\n\n\n

    1. Paid\nadvertisements<\/li>
    2. Organic\nmarketing<\/li><\/ol>\n\n\n\n

      Let us have a look at paid\nadvertisements first. Almost all social media platforms have paid\nadvertisements. Some of these are:<\/p>\n\n\n\n