• I change the server recently for the first time, reading a manuscript carefully.
    after that, a warning comment is displayed when I move the mouse to the “posts” on the left column.(I don’t know it correctly as I am using a Japanese version… sorry!)
    The error says:
    Warning: Cannot modify header information- headers already sent by (output started at/home/USERNAME/SITE ADDRESS/public_html/wp-includes/formatting.php:5078)in/home/USERNAME/SITE ADDRESS/public_html/wp-includes/rest-api.php online 511

    the corresponding php are followed:
    [formatting php]
    /*
    * If you’re looking at a src version of this file, you’ll see an “include”
    * statement below. This is used by the grunt build process to directly
    * include a minified version of wp-emoji-loader.js, instead of using the
    * readfile() method from above.
    *
    * If you’re looking at a build version of this file, you’ll see a string of
    * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
    * and edit wp-emoji-loader.js directly.
    */
    ?>
    <script type=”text/javascript”>
    window._wpemojiSettings = <?php wp_json_encode( $settings ); ?>;
    !function(a,b,c){function d(a){var b,c,d,e,f=String.fromCharCode;if(!k||!k.fillText)return!1;switch(k.clearRect(0,0,j.width,j.height),k.textBaseline=”top”,k.font=”600 32px Arial”,a){case”flag”:return k.fillText(f(55356,56826,55356,56819),0,0),!(j.toDataURL().length<3e3)&&(k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57331,65039,8205,55356,57096),0,0),b=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57331,55356,57096),0,0),c=j.toDataURL(),b!==c);case”emoji4″:return k.fillText(f(55357,56425,55356,57341,8205,55357,56507),0,0),d=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55357,56425,55356,57341,55357,56507),0,0),e=j.toDataURL(),d!==e}return!1}function e(a){var c=b.createElement(“script”);c.src=a,c.defer=c.type=”text/javascript”,b.getElementsByTagName(“head”)[0].appendChild(c)}var f,g,h,i,j=b.createElement(“canvas”),k=j.getContext&&j.getContext(“2d”);for(i=Array(“flag”,”emoji4″),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],”flag”!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener(“DOMContentLoaded”,g,!1),a.addEventListener(“load”,g,!1)):(a.attachEvent(“onload”,g),b.attachEvent(“onreadystatechange”,function(){“complete”===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
    </script>
    <?php
    }
    }

    [rest-api.php]

    header( sprintf( ‘X-WP-DeprecatedParam: %s’, $string ) );
    }

    ——————————————————————
    I am so confused becasue I don’t understand php or ftp things.
    Any help will be appreciated. Thanks in advance!

    • This topic was modified 7 years, 8 months ago by pyokotan.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    1- I would suggest to upload the all files of WordPress except the /wp-content/ directory, wp-config.php and htaccess files.

    2- Try deactivating all plugins. If that resolves the issue, reactivate
    each one individually until you find the cause.

    Thanks
    Mohammad

    Thread Starter pyokotan

    (@pyokotan)

    Hi, Mohmmad
    I disabled Jetpack plugin and the problem solved!!
    Thank you for your help. I’d been felt so low since this happened.
    you made my day. I can’t thank you enough.

    Hi,
    Glad ?? to help you.
    Thanks
    Mohammad

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cannot re-edit posts’ is closed to new replies.