Title: Support for php8
Last modified: November 23, 2021

---

# Support for php8

 *  [bcalles](https://wordpress.org/support/users/bcalles/)
 * (@bcalles)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/support-for-php8-3/)
 * Hi,
 * Before moving to php8 on my running system, I have tested all my plugins on a
   test server, the only plugin not liking pgh8 where Videopack!
 * Any chance the support for php8 will follow within limited time?
 * Under installation on the test server did I get the following errors in the error_log
   file, and e.g. generating thumbs do not work. (Full paths substituted with ……).
 *     ```
       [23-Nov-2021 15:02:51 UTC] PHP Warning:  Trying to access array offset on value of type bool in /……../wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php on line 666
       [23-Nov-2021 15:02:51 UTC] PHP Stack trace:
       [23-Nov-2021 15:02:51 UTC] PHP   1. {main}() /……../wp-admin/plugins.php:0
       [23-Nov-2021 15:02:51 UTC] PHP   2. activate_plugin($plugin = 'video-embed-thumbnail-generator/video-embed-thumbnail-generator.php', $redirect = 'https://……../wp-admin/plugins.php?error=true&plugin=video-embed-thumbnail-generator%2Fvideo-embed-thumbnail-generator.php', $network_wide = FALSE, $silent = *uninitialized*) /……../wp-admin/plugins.php:58
       [23-Nov-2021 15:02:51 UTC] PHP   3. do_action($hook_name = 'activate_video-embed-thumbnail-generator/video-embed-thumbnail-generator.php', ...$arg = variadic(FALSE)) /……../wp-admin/includes/plugin.php:698
       [23-Nov-2021 15:02:51 UTC] PHP   4. WP_Hook->do_action($args = [0 => FALSE]) /……../wp-includes/plugin.php:470
       [23-Nov-2021 15:02:51 UTC] PHP   5. WP_Hook->apply_filters($value = '', $args = [0 => FALSE]) /……../wp-includes/class-wp-hook.php:327
       [23-Nov-2021 15:02:51 UTC] PHP   6. kgvid_video_embed_activation_hook($network_wide = FALSE) /……../wp-includes/class-wp-hook.php:303
       [23-Nov-2021 15:02:51 UTC] PHP   7. kgvid_register_default_options_fn() /……../wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php:761
       [23-Nov-2021 15:02:51 UTC] PHP   8. kgvid_default_options_fn() /……../wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php:698
       [23-Nov-2021 15:02:51 UTC] PHP   9. kgvid_video_formats($return_replace = *uninitialized*, $return_customs = *uninitialized*, $return_dontembeds = *uninitialized*) /……../wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php:192
       ```
   
 * Br,
    Bo

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

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/support-for-php8-3/#post-15096539)
 * I’ve been using PHP 8.0 for a few months and I haven’t run into this problem 
   before. I’ll take a look and see what could be causing it.
 *  Thread Starter [bcalles](https://wordpress.org/support/users/bcalles/)
 * (@bcalles)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/support-for-php8-3/#post-15097159)
 * An update.
 * Removing the plugin again, switch to php7.4, install under php7.4, then switch
   to php8, seams to go well and all functionality is there, based upon a quick 
   test.
 * Looks like it’s under direct install under php8 it breaks.
 * /Bo
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/support-for-php8-3/#post-15097170)
 * Yeah, that warning is generated when the Videopack settings haven’t been initialized
   yet which is why I missed it before. I’m almost done with a fix but I’ll need
   to do some more testing.

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

The topic ‘Support for php8’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/support-for-php8-3/#post-15097170)
 * Status: not resolved