• Resolved mikechalmers

    (@mikechalmers)


    Hello all,

    I’ve been trying to include the plugin list-posts-by author to the website: https://www.takeflightclub.com/blog/

    It seemed to install ok (although it didn’t work for me) but I tried loggin in to wp-admin this morning and got the following error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-includes/pluggable.php on line 868

    I have encountered this before and downloaded the list-posts-by-author.php and went to the line 868 to look for spaces or whatever. There is no line 868, it goes to 600 and something. I don’t think the line 868 means the pluggable.php but I checked that too and it seems okay.

    I tried logging in at wp-login.php; this time the login screen appeared

    (although there are errors visible:)

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-login.php on line 302

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-login.php on line 314

    but after logging in here, the page shows:

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-login.php on line 302

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-login.php on line 314

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-includes/pluggable.php on line 674

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-includes/pluggable.php on line 675

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-includes/pluggable.php on line 676

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/takeflightclub.com/public_html/blog/wp-content/plugins/list-posts-by-author/list-posts-by-author.php:1) in /home/sites/takeflightclub.com/public_html/blog/wp-includes/pluggable.php on line 868

    I’ve looked at lines 302 and 314 and they have short code that I don’t understand..

    I’m happy to get rid of this plugin, just need a solution to get in to admin.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mikechalmers

    (@mikechalmers)

    PS. The blog itself seems to be down with the error SOMETIMES. But sometimes its not..

    /list-posts-by-author/
    ftp to site or use host’s file manager to rename this folder thus deactivating it
    all should work then

    the plugin is not compatible with 2.9.1

    try this one
    https://www.dagondesign.com/articles/posts-by-author-plugin-for-wordpress/

    Hi,

    This error is usually due to spaces, new lines, or other garbage at opening/closing PHP file <?php tag or after a closing ?> tag in wp-config.php. It can be other file too so need to check error message as it may list file name where the error occurred.

    You can either upload error file from the backup or edit erroneous file. To edit the file one need to check below mentioned points:

    1. Download the file mentioned in the error message.
    2. Open that file in a plain text editor
    3. Check that the very first characters are <?php
    4. Check that the very last characters are ?>
    5. Place the cursor between the ? and >
    6. Now press the DELETE key on your computer and keep that key pressed for at least 15 seconds.
    7. Now type > and
    8. Save without pressing any other key at all.

    That’s it!

    Thanks,

    Shane G.

    Thread Starter mikechalmers

    (@mikechalmers)

    samboll:

    1. How stupid of me, I just started using wp in the last few days – didn’t realise plugins had different compatibilities. Will know in the future.

    2. I tried something similar: I deleted the php of the plugin, within the folder, to no avail.

    This worked right away, thanks very much for the help

    SOLVED!

    Thread Starter mikechalmers

    (@mikechalmers)

    PS. thanks for the link to the other plugin also!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t log in to admin’ is closed to new replies.