• Hello,

    When I click on “theme settings” (theme: “Hatch”), the following error message is given: “Cannot load theme-settings”.
    It’s not only in this theme, it’s in every theme i tried.

    To solve the problem i’ve deleted every plugin but still no cigar.

    WordPress version 3.9.2
    Theme: Hatch
    No plugins installed

    I already did some research about this, but couldn’t find the right topic. Can anyone help me please?

    Much appreciated!
    Phil.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Can you install the 2014 theme and post a link to your site?

    Thread Starter phileggen

    (@phileggen)

    I did something stupid and tried to change a line in the CSS sheet and now i can’t get onto my dashboard anymore :-/

    is there an easy way to get it back working so we can address the previous error?

    Thanks!
    P.

    your theme’s css?

    Thread Starter phileggen

    (@phileggen)

    i went to “Appearance” -> “Editor” and changed a line in that CSS. Very stupid, i know :-/ so now i can’t even access my dashboard via phileggen.com/wp-admin

    Shall i reinstall wordpress? (i just started so i don’t really lose that much content)

    thanks,
    P

    You can access your theme folder via ftp and remove the theme Hatch.

    css wouldn’t have caused that.

    What were you changing exactly?

    Thread Starter phileggen

    (@phileggen)

    so in “Appearance” -> “Editor” and then in CSS I changed this:

    if ( is_admin() )
    require_once( trailingslashit( get_template_directory() ) . ‘admin/functions-admin.php’

    changed it with something i found on a forum, that would solve this error, but it was clearly false.

    P.

    Hi Phil, I just checked your site and it appears the wp-content folder is inside the wp-admin folder. The wp-content folder should be in the root folder called “public_html”, not inside the wp-admin folder. I would move the wp-content folder to the root folder and/or contact your web host to guide you through this process.

    Here is the error message I see on your site:
    Parse error: syntax error, unexpected ‘)’ in /home2/boddah27/public_html/wp-admin/wp-content/themes/hatch/functions.php on line 89

    Here is what the directories should look like:
    /home2/boddah27/public_html/wp-admin
    /home2/boddah27/public_html/wp-content

    so in “Appearance” -> “Editor” and then in CSS I changed this:

    if ( is_admin() )
    require_once( trailingslashit( get_template_directory() ) . ‘admin/functions-admin.php’

    Also, one more thing — the code you used above is not CSS code, this code is related to functions so would need to be added to the functions.php file, not the CSS file. CSS code includes things like font styles, border styles, colors, font sizes, appearance related styling changes.

    Some tips on making changes to the functions.php file (since In my experience, making changes to the functions.php file can be tricky):
    1) It’s always best to make a copy of the orginal functions.php file before changing it.
    2) Sometimes, when making functions customizations within the WordPress dashboard, errors can occur. It’s best to use a text editor outside of WordPress and make the change to the functions.php file there, then upload that file to your site via your web host cpanel (your web host can guide you in this process) or via FTP.

    Hope this helps!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘ERROR: "Cannot load theme-settings"’ is closed to new replies.