Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • I had this same problem – I had generated about 2-3 MB in extra image files.

    I fixed it by going to Settings -> Media and setting all of the sizes to 0. I also unchecked the “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” box and saved the settings.

    I tested this by uploading a massive test image – it did not create a thumbnail or any additional files… so I’m satisfied that this works.

    -Nick
    https://www.psychoticresumes.com

    Your stylesheet.css probably had something like this at the top:
    /*
    Theme Name: Theme Name
    Theme URI: https://www.whitehouse.org
    Description: Theme Description
    Version: 2.0.8
    Author: Author Name
    Author URI: https://www.whitehouse.org
    */

    If you remove or edit this information, WordPress can’t detect what theme it is and it generates this error.

    The solution is to restore the original style.css (or wherever the lines that look like the ones above were), select a different theme from the appearance menu, activate it, then re-activate your original theme. It seemed to work for me.

    -Nick
    https://www.PsychoticResumes.com

    Your stylesheet.css probably had something like this at the top:

    /*
    Theme Name: Theme Name
    Theme URI: https://www.whitehouse.org
    Description: Theme Description
    Version: 2.0.8
    Author: Author Name
    Author URI: https://www.whitehouse.org
    */

    If you remove this information, WordPress can’t detect what theme it is and it generates this error.

    The solution is to restore the original style.css (or wherever the lines that look like the ones above were), select a different theme from the appearance menu, activate it, then re-activate your original theme. It seemed to work for me.

    -Nick
    PsychoticResumes.com

    sorry for the double-post

    Thread Starter iamnickarmstrong

    (@iamnickarmstrong)

    Did you see my fix?

    So the same thing happened to you, eh? Was it right after you’d upgraded or upon installation of Freshy 2?

    Thread Starter iamnickarmstrong

    (@iamnickarmstrong)

    Ok, so I fixed the current page issue – somehow the update from 2.6.5 to 2.7 RC1 caused an is_home() condition to appear above the first line in my functions.php file.

    I still don’t think Freshy 2 is going to take full advantage of 2.7, but I can do most of the fixes myself and make it work.

    Just a bummer it took that long to find the answer to those problems!

    -Nick

    Thread Starter iamnickarmstrong

    (@iamnickarmstrong)

    I’ve fixed this issue. Somehow this (before 2.7)

    $_current_page = get_page( $current_page );
    if ( $page->ID == $current_page || $page->ID == $_current_page )
    $css_class .= ' current_page_item ';
    elseif ( $_current_page && $page->ID == $_current_page->post_parent )
    $css_class .= ' current_page_parent';
    elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) )
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky
    $css_class .= ' current_page_parent';

    became this after I upgraded:

    $_current_page = get_page( $current_page );
    if ( $page->ID == $current_page || $page->ID == $_current_page )
    if (is_home())
    $css_class .= ' current_page_item ';
    elseif ( $_current_page && $page->ID == $_current_page->post_parent )
    $css_class .= ' current_page_parent';
    elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) )
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky
    $css_class .= ' current_page_parent';

    Anybody else had this problem?

    Thread Starter iamnickarmstrong

    (@iamnickarmstrong)

    I’ve fixed this issue. Somehow this (before 2.7)

    $_current_page = get_page( $current_page );
    if ( $page->ID == $current_page || $page->ID == $_current_page )
    $css_class .= ' current_page_item ';
    elseif ( $_current_page && $page->ID == $_current_page->post_parent )
    $css_class .= ' current_page_parent';
    elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) )
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky
    $css_class .= ' current_page_parent';

    became this after I upgraded:

    $_current_page = get_page( $current_page );
    if ( $page->ID == $current_page || $page->ID == $_current_page )
    if (is_home())
    $css_class .= ' current_page_item ';
    elseif ( $_current_page && $page->ID == $_current_page->post_parent )
    $css_class .= ' current_page_parent';
    elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) )
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky
    $css_class .= ' current_page_parent';
    elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky
    $css_class .= ' current_page_parent';

    Anybody else had this problem?

    Thread Starter iamnickarmstrong

    (@iamnickarmstrong)

    Bump.

    Thread Starter iamnickarmstrong

    (@iamnickarmstrong)

    Bump.

    Thread Starter iamnickarmstrong

    (@iamnickarmstrong)

    Bump.

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