Theme 6.5.6 Youtube embed breaking on video post

hi I"m having the same issue as this


how do i get the Version: 6.5.5 ? and when will there be a patch or fix or we have to wait for next release before update X again?

Hello @designbabe,

Thanks for writing in!

I’ve attached the zip file of version 6.5.5 under Secure Note.

Here is a detailed guide for reinstalling the theme: Manual X Update Via FTP.

Let us know how it goes!

@RueNel I don’t see the secure note from you with the link?

Hey @designbabe,

Sorry. I must have missed editing the secure note.

Check it now.

@RueNel I did the update manually
Is there a way to confirm this is the correct zip? i’m still seeing 6.5.6 in the about the theme? and still having the issue on my live and staging.

I also tried deleting and replacing the theme entirely and looking in incognito window.

Ok finally got it working i had to delete from the dashboard and then reinstall, deleting from FTP didn’t work.
I think all ok for now

Glad to hear it’s sorted, @designbabe.

Hi so ended I didn t get sorted I’m not getting a bunch of theme errors. Can you check out. And double check that the zip was the correct theme version. When I could get to work I ended up deleting and using a version of X I had that I thought was the 6.5.5.

And/or if you have suggestions?

Hello @designbabe,

I have logged in to your FTP and fixed your X 6.5.5 issue. I also found out where the error is coming from. The error occurred because you added this custom PHP code in your child theme’s functions.php file:


function add_is_featured_post(){
    
x_register_meta_box( array(
      'id'          => 'x-meta-box-post-ethos_new',
      'title'       => __( 'Ethos Post Settings', '__x__' ),
      'description' => __( 'Here you will find some options specific to Ethos that you can use to create different post layouts.', '__x__' ),
      'page'        => 'post',
      'context'     => 'normal',
      'priority'    => 'high',
      'fields'      => array(
        array(
          'name' => __( 'Index Featured Post Layout', '__x__' ),
          'desc' => __( 'Make the featured image of this post fullwidth on the blog index page.', '__x__' ),
          'id'   => '_x_ethos_index_featured_post_layout',
          'type' => 'checkbox',
          'std'  => ''
        ),
        array(
          'name'    => __( 'Index Featured Post Size', '__x__' ),
          'desc'    => __( 'If the "Index Featured Post Layout" option above is selected, select a size for the output.', '__x__' ),
          'id'      => '_x_ethos_index_featured_post_size',
          'type'    => 'radio',
          'std'     => 'Skinny',
          'options' => array( 'Big', 'Skinny' )
        ),
        array(
          'name' => __( 'Post Carousel Display', '__x__' ),
          'desc' => __( 'Display this post in the Post Carousel if you have "Featured" selected in the Customizer.', '__x__' ),
          'id'   => '_x_ethos_post_carousel_display',
          'type' => 'checkbox',
          'std'  => '',
        ),
        array(
          'name' => __( 'Post Slider Display – Blog', '__x__' ),
          'desc' => __( 'Display this post in the Blog Post Slider if you have "Featured" selected in the Customizer.', '__x__' ),
          'id'   => '_x_ethos_post_slider_blog_display',
          'type' => 'checkbox',
          'std'  => '',
        ),
        array(
          'name' => __( 'Post Slider Display – Archives', '__x__' ),
          'desc' => __( 'Display this post in the Archives Post Slider if you have "Featured" selected in the Customizer.', '__x__' ),
          'id'   => '_x_ethos_post_slider_archives_display',
          'type' => 'checkbox',
          'std'  => '',
        ),
         array(
          'name' => __( 'Is Post Featured', '__x__' ),
          'desc' => __( 'Check if post is featured.', '__x__' ),
          'id'   => '_x_ethos_is_post_featured',
          'type' => 'checkbox',
          'std'  => '',
        )
      )
    ) 
  );
}
add_action( 'add_meta_boxes', 'add_is_featured_post' );

You are using Ethos stack and this code is specifically for Ethos. This code already exists in the theme. It is no longer necessary. I went ahead and removed it so that you can now edit your posts.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.