{"id":262298,"date":"2017-10-19T11:47:29","date_gmt":"2017-10-19T11:47:29","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/topic\/warning-cannot-modify-header-information-headers-already-sent-by-2\/"},"modified":"2017-10-19T11:47:29","modified_gmt":"2017-10-19T11:47:29","slug":"warning-cannot-modify-header-information-headers-already-sent-by-2","status":"publish","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/warning-cannot-modify-header-information-headers-already-sent-by-2\/","title":{"rendered":"Warning: Cannot modify header information &#8212; headers already sent by"},"content":{"rendered":"<p>\u041e\u0448\u0438\u0431\u043a\u0430:<br \/>\nWarning: Cannot modify header information &#8212; headers already sent by (output started at \/var\/www\/site\/wp-content\/themes\/realtor\/shortcodes.php:1331) in \/var\/www\/site\/wp-includes\/pluggable.php on line 1210<br \/>\n\u0420\u0443\u0433\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u044d\u0442\u043e\u0442 \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430, \u0447\u0442\u043e \u0441 \u043d\u0438\u043c \u043d\u0435 \u0442\u0430\u043a?:<\/p>\n<pre><code>&lt;?\nadd_shortcode(&#039;tt_form_1&#039;, &#039;tt_form_1&#039;);\n\nfunction tt_form_1() { \n\tob_start();?&gt;\n&lt;section class=&quot;offer_1&quot;&gt;\n\t&lt;div class=&quot;container&quot;&gt;\n\t&lt;div class=&quot;row&quot;&gt;\n\t\t&lt;div class=&quot;col-sm-6&quot;&gt;\n\t\t\t&lt;div class=&quot;caption&quot;&gt;\n\t\t\t&lt;h2 style=&quot;margin: 15px 0; font-size: 22px&quot;&gt;&lt;i class=&quot;icon icon-home4&quot; style=&quot;margin-right: 10px;&quot;&gt;&lt;\/i&gt;\u041d\u0443\u0436\u043d\u0430 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u0446\u0438\u044f?&lt;\/h2&gt;\n\t\t\t&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;div class=&quot;col-sm-12&quot; style=&quot;margin-top: 8px;&quot;&gt;\n\t\t\t&lt;form class=&quot;offer_form_1&quot; action=&quot;\/mail.php&quot; method=&quot;POST&quot;&gt;\n\t\t\t\t&lt;div class=&quot;col-sm-6 brd_cont&quot;&gt;\n\t\t\t\t\t&lt;div class=&quot;brd&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;input name=&quot;name&quot; required=&quot;&quot; type=&quot;text&quot; placeholder=&quot;\u0412\u0430\u0448\u0435 \u0438\u043c\u044f&quot; \/&gt;\n\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;div class=&quot;col-sm-6 brd_cont&quot;&gt;\n\t\t\t\t\t&lt;div class=&quot;brd&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;input name=&quot;phone&quot; required=&quot;&quot; type=&quot;text&quot; placeholder=&quot;\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d&quot; \/&gt;\n\t\t\t\t&lt;\/div&gt;\t\t\t\n\t\t\t\t&lt;div class=&quot;col-sm-6 brd_cont&quot;&gt;\n\t\t\t\t\t&lt;div class=&quot;brd&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;input name=&quot;email&quot; type=&quot;email&quot; placeholder=&quot;\u0412\u0430\u0448 email&quot; \/&gt;\n\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;div class=&quot;col-sm-6 brd_cont&quot;&gt;\n\t\t\t\t\t&lt;div class=&quot;brd&quot;&gt;&lt;\/div&gt;\n\t\t\t\t\t&lt;input class=&quot;offer_1_submit&quot; style=&quot;&quot; type=&quot;submit&quot; value=&quot;\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c&quot; \/&gt;\n\t\t\t\t&lt;\/div&gt;\t\t\t\t\n\t\t\t&lt;\/form&gt;\n\t\t&lt;\/div&gt;\n        &lt;div class=&quot;col-sm-6&quot; style=&quot;margin-top: 2px; font-size: 12px; color: #fff;&quot;&gt;\n            \u041d\u0430\u0436\u0438\u043c\u0430\u044f \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443, \u0432\u044b \u0434\u0430\u0435\u0442\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0441\u0432\u043e\u0438\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c c &lt;a data-toggle=&quot;modal&quot; data-target=&quot;#callModal_rules&quot; style=&quot;color:white; text-decoration: underline; cursor: pointer ;&quot;&gt;\u043f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438&lt;\/a&gt;\n        &lt;\/div&gt;\n\t&lt;\/div&gt;\n\t&lt;\/div&gt;\n\t\t\n\n&lt;\/section&gt;\t\n\n\t\n&lt;? return ob_get_clean(); } ?&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-262298","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/262298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/262298\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=262298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}