• Yesterday I edited a php file called functions.php if I’m remembering correctly and after I edited it, the whole website and admin interface have gone down. I can’t undo the changes.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @kieransant,

    I hope things are going well for you.

    Currently, I can access the site and its admin page, where I see the login panel. I haven’t noticed any critical or fatal errors on the site. Has the issue been resolved, or do you still need assistance? For example, are you encountering a critical error after logging into the WordPress Admin?


    Kind Regards,
    Imran Khan

    If the site is really down and not accessible, in my opinion your best next step would be to access the files through FTP (File Manager) and undo the changes you made in functions.php

    If you are not sure about FTP software, then some hosting control providers also provide an option to access the WordPress files from hosting dashboard. You can look for that.

    Once restored, test any such changes on non-production site (dev / staging / local) first and once verified, push those to production.

    Did you check your debug.log file? It would be useful if you can check and paste the exact error message here.

    If not, make sure to paste your functions.php code here so that I can take a look.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If not, make sure to paste your functions.php code here so that I can take a look.

    Don’t. It will just make a mess and won’t work. It just creates a mess that has no value.

    Please use https://pastebin.com/ or https://gist.github.com/ or the like instead and share a link to that paste in reply here.

    Oh you’re right @jdembowski , I’m sorry, totally forgot about that. I will keep that in mind! 🙂

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

You must be logged in to reply to this topic.