• Hello,

    I was silly enough to edit my functions.php file without using a child theme, it broke…

    I’ve uploaded the original functions.php file that I made a copy of prior to editing but the site is still not working.

    I’ve tried to set up WP_DEBUG but I’m thinking that would only work if it was set up before the error and not after it since now the page won’t load at all.

    I’ve seen a lot of posts about conflicting plugins so I’ve tried reinstating and removing the plugin that I was working on but to no avail.

    Any thoughts are appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • lisa

    (@contentiskey)

    if you altered the functions.php file and now the site is no longer working…it normally needs to be replaced.

    can you get a copy of the original theme files to replace the code that was in your functions.php files?

    do you have access to your theme files via FTP?

    Thread Starter pstockley

    (@pstockley)

    Hi contentiskey,

    Thanks for your reply.

    As I mentioned, I have replaced the functions.php file with a copy I made prior to editing it.

    I have also tried replacing it with the functions.php file from my live site (this is the test site that is broken).

    And yes, I have been using FTP to do all of this.

    lisa

    (@contentiskey)

    can you change to one of the default themes?

    in addition to the editing of the parent theme functions.php, were any other theme files changed?

    can upload a fresh copy of the entire theme to the test site?

    are all theme versions (live and test site) the same version?

    Moderator t-p

    (@t-p)

    my suggestion is to get a fresh copy of your original theme and upload it.

    If you need to modify any files in the future, consider creating a Child theme.

    Thread Starter pstockley

    (@pstockley)

    Thanks for your help guys.

    I believe the problem is that I have the wrong address for the test site’s FTP server so I was actually just overwriting the same files on the live site instead.

    I haven’t yet fixed the issue but when I get the server address I’m certain it will be straightened out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘White Screen of Death…’ is closed to new replies.