Support » Fixing WordPress » Site broken – can’t access. FTP doesn’t work either.

  • Hello,
    New to Word Press. I created a site and have it hosted. Just tried to add some coding to the functions.php file and get an error message:

    Fatal error: Call to undefined function support() in /home/hgemscp/public_html/wp-content/themes/dyad/functions.php on line 39

    Deleted the new code and got the same message. Logged out and tried coming back in and no go. Tried to access website via ftp and it won’t connect. Website is “healingems.com”

    Any help appreciated! Thank you…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    you theme “dyad” seems to be the error.

    Try repairing/replacing this file: /wp-content/themes/dyad/functions.php

    If you need immediate access to your site/admin, try switching to the unedited default Theme (Twenty Seventeen.) using FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme (Twenty Sixteen.). That will force your site to use it.

    @support88,

    This is caused by an issue within the functions.php file.

    Are you using the following theme: https://en-ca.wordpress.org/themes/dyad/
    If you are, I have created a duplicate of that functions.php file and you can replace it all with this: https://jsfiddle.net/ynu9fqh7/

    The FTP Login issue should not be associated with the functions file though.

    Cheers,

    Liam

    Thanks t-p & Liam for your suggestions! I tried changing the default theme to TwentySeventeen thru cPanel but still having problems connecting. There seems to be some ftp login issues and I think I need to contact the hosting admin. I’m suing my WP website URL and login credentials.

    @support88,

    Looks like it is still trying to use this theme: https://en-ca.wordpress.org/themes/dyad/

    Try my suggestion above to fix the page.

    Cheers,
    Liam

    Moderator t-p

    (@t-p)

    site site healingems.com still display the same Fatal Error with the same “dyad” theme.

    If you want to see different results, then please try what I suggested before.

    I’m repeating here again:

    – Try repairing/replacing this file: /wp-content/themes/dyad/functions.php

    – If you need immediate access to your site/admin, try switching to the unedited default Theme (Twenty Seventeen.) using FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme (Twenty Sixteen.). That will force your site to use it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site broken – can’t access. FTP doesn’t work either.’ is closed to new replies.