Title: PHP8 Support
Last modified: February 26, 2021

---

# PHP8 Support

 *  Resolved [reignofcomputer](https://wordpress.org/support/users/reignofcomputer/)
 * (@reignofcomputer)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php8-support-4/)
 * Hi, does this work with PHP8? When I shift my site to PHP8 I get:
 *     ```
       Stack trace:
       #0 /var/www/html/wp-content/plugins/woo-store-vacation/woo-store-vacation.php(881): sprintf()
       #1 /var/www/html/wp-includes/class-wp-hook.php(287): Woo_Store_Vacation->inline_css()
       #2 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
       #3 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action()
       #4 /var/www/html/wp-includes/functions.wp-styles.php(57): do_action()
       #5 /var/www/html/wp-includes/class-wp-hook.php(287): wp_print_styles()
       #6 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
       #7 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action()
       #8 /var/www/html/wp-includes/general-template.php(3005): do_action()
       #9 /var/www/html/wp-content/themes/theme/header.php(13): wp_head()
       #10 /var/www/html/wp-includes/template.php(730): require_once('...')
       #11 /var/www/html" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "localhost", referrer: ""
       ```
   

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

 *  Plugin Support [Saji](https://wordpress.org/support/users/gookaani/)
 * (@gookaani)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php8-support-4/#post-14212052)
 * We will be updating soon to be compatible with PHP 8.
 *  Thread Starter [reignofcomputer](https://wordpress.org/support/users/reignofcomputer/)
 * (@reignofcomputer)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php8-support-4/#post-14550958)
 * Any ETA?
 *  [shedros](https://wordpress.org/support/users/shedros/)
 * (@shedros)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php8-support-4/#post-14559530)
 * Fix for all installations >= PHP 8.0:
 * Change Line 842 in `wp-content/plugins/woo-store-vacation/woo-store-vacation.
   php`:
 * From this:
 * `height:100%;`
 * to this:
 * `height:100%%;`
 * Patch file:
 *     ```
       --- woo-store-vacation.php      2021-06-15 19:05:31.858243036 +0200
       +++ woo-store-vacation.php     2021-06-15 18:59:55.876935292 +0200
       @@ -839,7 +839,7 @@
                                               background-color:%2$s !important;
                                               color:%3$s !important;
                                               z-index:2;
       -                                       height:100%;
       +                                       height:100%%;
                                               text-align:left;
                                               list-style:none;
                                               border-top:0;
       ```
   
    -  This reply was modified 4 years, 11 months ago by [shedros](https://wordpress.org/support/users/shedros/).
    -  This reply was modified 4 years, 11 months ago by [shedros](https://wordpress.org/support/users/shedros/).

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

The topic ‘PHP8 Support’ is closed to new replies.

 * ![](https://ps.w.org/woo-store-vacation/assets/icon-256x256.gif?rev=2923942)
 * [Woo Store Vacation](https://wordpress.org/plugins/woo-store-vacation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-store-vacation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-store-vacation/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-store-vacation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-store-vacation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-store-vacation/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [shedros](https://wordpress.org/support/users/shedros/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/php8-support-4/#post-14559530)
 * Status: resolved