Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1201886
    anton.pelayo
    Participant

    Hello X,

    I’ve recently updated to the latest version of the theme. I tried logging in 2 days ago to:
    http://opticshock.antonpelayo.com/wp-admin/ and this error message comes up:

    Warning: Cannot modify header information – headers already sent by (output started at /hermes/bosnaweb12a/b1968/ipg.antonpelayocom/opticshock/wp-content/themes/x-child/functions.php:1) in /hermes/bosnaweb12a/b1968/ipg.antonpelayocom/opticshock/wp-includes/pluggable.php on line 1174

    I’ve disabled x-child in my themes folder and everything goes back to normal.

    Development site: opticshock.antonpelayo.com
    WP Version 4.6.1
    X Theme 4.6.2
    Cornerstone 1.3.2

    not sure what happened, but need to fix this pronto.

    Thanks,
    Anton

    #1201912
    Thai
    Moderator

    Hi Anton,

    In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link login to your site
    – WordPress Admin username / Password
    – FTP Account

    Don’t forget to select Set as a private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1201922
    anton.pelayo
    Participant
    This reply has been marked as private.
    #1202082
    Christian
    Moderator

    Hey there,

    Sorry but I couldn’t login using the given credentials. Please check.

    Thanks.

    #1202183
    anton.pelayo
    Participant
    This reply has been marked as private.
    #1202187
    anton.pelayo
    Participant
    This reply has been marked as private.
    #1202248
    Rahul
    Moderator

    Hey There,

    Thanks for the working credentials.

    We have successfully logged into your WordPress site without any errors.

    It’s fixed!

    #1202953
    anton.pelayo
    Participant
    This reply has been marked as private.
    #1203023
    Christopher
    Moderator

    Hi there,

    I renamed the x-child theme to its original name.
    The issue comes from functions.php file, I renamed to functions-1.php for now. Please remove codes one by one from child theme’s functions.php file until you find out which code is causing the issue.

    Hope that helps.

    #1203488
    anton.pelayo
    Participant

    Chris, I’m slightly confused.. sorry.

    i am able to log in normally now, was it because you changed the functions.php from x-child to functions-1.php?

    I assume i remove codes one by one from functions-1.php? if so how do i tell if it’s worked as I’m able to log in normally, not sure what to look out for?

    Will the theme/website run normally now that the functions.php has been renamed?

    #1203507
    anton.pelayo
    Participant

    So I’ve renamed it back to functions.php (in x-child)

    And have erased the code line by line, but still wasn’t able to get to the wp-admin page…

    I’ve also tried erasing all the text on it, but still won’t display the log in..

    not sure what to do.

    #1203702
    Jade
    Moderator

    Hi Anton,

    I have tried to login through FTP to check but I can’t seem to find the directory with the WordPress installation for http://opticshock.antonpelayo.com/. I went in to /home directory where there are WordPress files present but it doesn’t seem to the correct one since there is no X Theme installed.

    Kindly double check and point us out to the correct directory so that we could check this further.

    Thank you.

    #1204841
    anton.pelayo
    Participant

    Hello on the root folder of the ftp, there’s a folder called opticshock. That’s where i host the wp site..

    #1204948
    Paul R
    Moderator

    Hi,

    I comment out the breadcrumbs function(line 48-225) in your child theme’s functions.php file and it let me go to wp-admin.

    Please verify your code, make sure it’s correct.

    Thanks

    #1216127
    anton.pelayo
    Participant

    Thanks Paul,

    I’ve looked at your code and everything works fine.

    That code was to edit my search results bread crumb, I’ve edited it back in, log in seems to be working… is it safe to continue WITH my breadcrumbs php added in or shall i comment out for now?

  • <script> jQuery(function($){ $("#no-reply-1201886 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>