Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • EDIT: I found a workaround until sliding-door changes its function name(s)

    You can rename

    get_the_post_thumbnail_url()

    to

    get_the_post_thumbnail_url_ANYTHING()

    in the 3 places where it occurs in functions.php

    This seemed to work fine for me.

    WP

    This just happened to me as well, sometime within the last few hours. I have edited nothing; it just happened “on its own.”

    Is there a programmatic workaround for this? I can not login to wordpress as admin so I can’t change my theme (unless there is a programatic way to do it).

    Changing the name of the sliding door theme results in a blank website with no WordPress bar at the top to login with.

    no clue how to fix this…

    – Will

    The full error is identical to CWMUA
    Fatal error: Cannot redeclare get_the_post_thumbnail_url() (previously declared in /home/wpirkle/willpirkle.com/wp-includes/post-thumbnail-template.php:190) in /home/wpirkle/willpirkle.com/wp-content/themes/sliding-door/functions.php on line 217

    Line 217 is the closing curly bracket here:

    // Get only the image url link by https://blogcastor.com
    function get_the_post_thumbnail_url( $post_id = NULL ) {
    global $id;
    $post_id = ( NULL === $post_id ) ? $id : $post_id;
    $src = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), ‘full’);
    $src = $src[0];
    return $src;
    }

    Thanks,

    Will

    HI Esmi

    This just happened to me as of a few hours ago as well. It seems to be involving the sliding-door theme. I also get the error and also can not login to wordpress as “admin”

    1) when I change the name of sliding-door to sliding-door-old, my website is now completely blank (though I do not get the error above…)

    2) I still see the site in my FTP client, and nothing has changed with the sliding-door theme; something happened within the last 12 hours that is causing this for a bunch of us with sliding-door.

    Any hints on getting my site back? A blank site is no better than the error-ed site.

    Thanks!

    Will

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