Title: PHP Errors when using post format video
Last modified: February 6, 2020

---

# PHP Errors when using post format video

 *  Resolved [Terri Ann](https://wordpress.org/support/users/terriann/)
 * (@terriann)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-when-using-post-format-video/)
 * I suspect this is a duplicate of an earlier support topic, [https://wordpress.org/support/topic/gallery-image-video-audio-post-formats-not-working/](https://wordpress.org/support/topic/gallery-image-video-audio-post-formats-not-working/)
   but the work around of the URL followed by the <!– more–> doesn’t work and if
   since theme is labeled as block editor/Gutenburg friendly I’d initially assumed
   a YouTube or video block might work.
 * I’m using the block editor, WordPress 5.2.3 if I create a post with a title, 
   YouTube video block and a paragraph block, then choose the post format Video 
   and publish – the frontend page doesn’t show any content and in debug mode outputs:
 * `Notice: Undefined variable: content_parts in /var/www/html/wp-content/themes/
   baskerville/single.php on line 151`
 * On the archive pages the title and paragraph (maybe as an auto excerpt?) display
   but the YouTube video block does not.
 * It’s a very cleverly styled theme – I’ll work around by just using another post
   type but I thought I’d report the bug.

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

 *  Theme Author [Anders Norén](https://wordpress.org/support/users/anlino/)
 * (@anlino)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-when-using-post-format-video/#post-12407801)
 * Hi [@terriann](https://wordpress.org/support/users/terriann/),
 * Thanks for posting! The notice is fixed in version 2.0.0, which was just submitted
   and should be live shortly.
 * — Anders
 *  Thread Starter [Terri Ann](https://wordpress.org/support/users/terriann/)
 * (@terriann)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-when-using-post-format-video/#post-12413867)
 * Great timing! New version solves that issue for me – thanks for the update!

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

The topic ‘PHP Errors when using post format video’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/baskerville/2.3.1/screenshot.jpg)
 * Baskerville
 * [Support Threads](https://wordpress.org/support/theme/baskerville/)
 * [Active Topics](https://wordpress.org/support/theme/baskerville/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/baskerville/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/baskerville/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Terri Ann](https://wordpress.org/support/users/terriann/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/php-errors-when-using-post-format-video/#post-12413867)
 * Status: resolved