Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter cneu

    (@cneu)

    I may have found it.

    			<?php if ( $post_description === true ) : ?>
    <div class="post-content">
    <?php echo wp_kses_post( get_the_content( ) ); ?>
    </div><!-- post-content -->
    <?php endif; ?>

    Is how /templates/content.php is calling up post content, so that may be the issue.

    Edit: yup, editing that to ‘the_content’ instead of ‘get_the_content’ seems to have fixed it. Thanks.

    • This reply was modified 9 months, 3 weeks ago by cneu.
    Thread Starter cneu

    (@cneu)

    Here’s the homepage code that’s relevant:

        <div class="theme-archive-layout <?php echo esc_attr( $archive_classes ); ?>">
    
            <?php
            /* Start the Loop */
            while ( have_posts() ) :
                the_post();
    
                    get_template_part( 'template-parts/content', get_post_type() );
    
                endwhile;
            ?>
        </div>
    
            <?php if ( is_front_page() && is_home() ) { ?>
                </div>
            <?php } ?>
        <?php
    
            do_action( 'terminal_blog_pro_posts_pagination' );
    
        else :
    
            get_template_part( 'template-parts/content', 'none' );
    
        endif;
        ?>

    and then compared to my page template:

    <main id="primary" class="site-main">
    
        <?php
        while ( have_posts() ) :
            the_post();
    
            get_template_part( 'template-parts/content', 'page' );
    
            if ( comments_open() || get_comments_number() ) :
                comments_template();
            endif;
    
        endwhile;
        ?>

    and my single template

    <?php
    while ( have_posts() ) :
        the_post();
    
        get_template_part( 'template-parts/content', 'single' );
    
        if ( $single_post_pagination === true ) {
    
            the_post_navigation(
                array(
                    'prev_text' => '<span class="nav-subtitle">' . esc_html__( 'Previous:', 'terminal-blog-pro' ) . '</span> <span class="nav-title">%title</span>',
                    'next_text' => '<span class="nav-subtitle">' . esc_html__( 'Next:', 'terminal-blog-pro' ) . '</span> <span class="nav-title">%title</span>',
                )
            );
    
        }
    
        if ( $single_post_comment_box === true ) {
    
            if ( comments_open() || get_comments_number() ) :
                comments_template();
        endif;
    
        }
    
        endwhile; 
    ?>

    So i’m not really sure where the difference is. It seems to be related to ‘get_post_type()’ because if I specify the post type the gallery loads just fine.

    Thread Starter cneu

    (@cneu)

    Same error with new version

    [2025-02-03 18:59:27] handle_post called for post ID: 714
    [2025-02-03 18:59:27] Post is published and of type 'post', calling post_to_bluesky
    [2025-02-03 18:59:27] post_to_bluesky called for post ID: 714
    [2025-02-03 18:59:27] Authenticating with Bluesky
    [2025-02-03 18:59:27] Authentication successful, DID: did:plc:mykxqqi3betsgojbkhos7mav
    [2025-02-03 18:59:27] Plugin initialized
    [2025-02-03 18:59:28] Plugin initialized
    [2025-02-03 18:59:28] No image URL found
    [2025-02-03 18:59:28] Posting to Bluesky with data: {"repo":"did:plc:mykxqqi3betsgojbkhos7mav","collection":"app.bsky.feed.post","record":{"text":"","createdAt":"2025-02-03T18:59:28+00:00","embed":{"$type":"app.bsky.embed.external","external":{"uri":"https:\/\/chadneu.com\/2025\/02\/03\/test-43234\/","title":"test 43234","description":"tewtstseseffsd","thumb":""}}}}
    [2025-02-03 18:59:29] Failed to post to Bluesky. Status code: 400, Body: {"error":"InvalidRequest","message":"Invalid app.bsky.feed.post record: Record/embed/external/thumb should be a blob ref"}
    [2025-02-03 18:59:34] Plugin initialized

    Thread Starter cneu

    (@cneu)

    I’ve tried with a bunch of different images. They’re all under 1mb. PNG and JPG have both been tried.

    I censored my domain name. That’s the link to the temporary post.

    • This reply was modified 1 year, 3 months ago by cneu.
    Thread Starter cneu

    (@cneu)

    thats the thing . Whether I specify an image or not, featured or in the post, it returns that error about a blob and fails to post to blue sky.

    You updated wordpress, didnt you?

    Thread Starter cneu

    (@cneu)

    Home URL:	http://www.tachoops.com
    Site URL:	http://www.tachoops.com
    SP Version:	1.7.7
    WP Version:	4.1.1
    WP Multisite Enabled:	No
    Web Server Info:	nginx/1.4.6
    PHP Version:	5.5.9-1ubuntu4.5
    WP Memory Limit:	256 MB
    WP Debug Mode:	No
    WP Language:	Default
    WP Max Upload Size:	200 MB
    PHP Post Max Size:	300 MB
    PHP Time Limit:	60
    PHP Max Input Vars:	1000
    SUHOSIN Installed:	No
    Default Timezone:	Default timezone is UTC
    fsockopen/cURL:	Your server has fsockopen enabled, cURL is disabled.
    SOAP Client:	Your server has the SOAP Client class enabled.
    Plugins
    Installed Plugins:	Akismet by Automattic version 3.1.1,
    Contact Form 7 by Takayuki Miyoshi version 4.1.1,
    Google Analytics Dashboard for WP by Alin Marcu version 4.6,
    Google Doc Embedder by Kevin Davis version 2.5.19,
    Jetpack by WordPress.com by Automattic version 3.4.1,
    Nginx Helper by rtCamp version 1.8.7,
    Social Login by OneAll version 4.6,
    Print Friendly and PDF by Print Friendly version 3.3.9,
    SportsPress by ThemeBoy version 1.7.7,
    TinyMCE Advanced by Andrew Ozz version 4.1.7,
    Easy SMTP Mail by priyanshu.mittal version 1.5.2,
    Xml Sitemap by Jason Martens version 1.3
    SP Configuration
    Sport:	basketball
    Event Outcomes:	Win (win) [10], Loss (loss) [20]
    Event Results:	OT (ot) [50], T (points) [60]
    Player Performance:	FGM (fgm) [20], FGA (fga) [30], FTM (ftm) [40], FTA (fta) [50], 3PM (threepm) [60], 3PA (threepa) [70], PF (pf) [110], TF (tf) [120], PTS (pts) [160]
    Table Columns:	W (w = $win) [1] {1 ↓}, L (l = $loss) [20], PCT (pct = $win / $eventsplayed) [30] {1 ↓}, PF (pf = $pointsfor) [40] {3 ↓}, PA (pa = $pointsagainst) [50], AVGDIFF (diff = ( $pointsfor - $pointsagainst ) / $eventsplayed) [60] {2 ↓}, STRK (strk = $streak) [80]
    Player Metrics:	Height (height) [170], Weight (weight) [190]
    Player Statistics:	TS% (tspercent = $pts * 100 / ( 2 * ( $fga + ( 4 / 9 ) * $fta ) ) / 100) [0], G (g = $eventsplayed) [190], FG% (fgpercent = $fgm / $fga) [220], FT% (ftpercent = $ftm / $fta) [230], 3P% (threeppercent = $threepm / $threepa) [240], PPG (ppg = $pts / $eventsplayed) [290]
    SP Taxonomies
    Competitions:	A-1 (a1), B-2 (b2), B-3 (b3), B-4 (b4), B-5 (b-5), B-5 East (b5e), B-5 West (b5w), B-6 (b-6), B-6 East (b6e), B-6 West (b6w)
    Seasons:	Fall 2014 (fall14), Spring 2014 (spring14), Spring 2015 (spring15), Summer 2014 (summer14), Winter 2014 (w14)
    Venues:	Court 1 (ct1), Court 2 (ct2)
    Positions:
    SP Post Types
    Events:	530 publish, 156 future, 0 draft, 0 private, 5 trash, 1 auto-draft, 0 inherit
    Calendars:	91 publish, 0 future, 0 draft, 0 private, 1 trash, 0 auto-draft, 0 inherit
    Teams:	121 publish, 0 future, 0 draft, 0 private, 5 trash, 0 auto-draft, 0 inherit
    League Tables:	22 publish, 0 future, 0 draft, 0 private, 1 trash, 0 auto-draft, 0 inherit
    Players:	618 publish, 0 future, 0 draft, 0 private, 12 trash, 1 auto-draft, 0 inherit
    Player Lists:	144 publish, 0 future, 0 draft, 0 private, 4 trash, 0 auto-draft, 0 inherit
    Staff:	0 publish, 0 future, 0 draft, 0 private, 1 trash, 0 auto-draft, 0 inherit
    cneu

    (@cneu)

    Same issue here. Unchecking and then checking doesnt work.

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