Title: PHP 8+ compatibility
Last modified: August 25, 2022

---

# PHP 8+ compatibility

 *  ResolvedPlugin Contributor [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-8-compatibility-65/)
 * At the moment this plugin does NOT work with PHP 8 or above.
 * If you have upgraded to PHP 8 and it appears to be fine, it’s likely that this
   due to the plugin’s internal caching – once this expires, videos will stop working.
 * The workaround for now is downgrade your PHP version (7.4, for example) and then
   change the plugin caching (found in Settings -> YouTube Embed) to 0, which will
   cause it to clear.
 * In due course I will test and fix for PHP 8 but, right now, I don’t have a timescale
   for this.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-8-compatibility-65/#post-15955208)
 * Compatibility has now been resolved with version 5.2.3 of the plugin.

Viewing 1 replies (of 1 total)

The topic ‘PHP 8+ compatibility’ is closed to new replies.

 * ![](https://ps.w.org/youtube-embed/assets/icon-256x256.png?rev=2955063)
 * [Embeds for YouTube](https://wordpress.org/plugins/youtube-embed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [David Artiss](https://wordpress.org/support/users/dartiss/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/php-8-compatibility-65/#post-15955208)
 * Status: resolved