Title: PHP 8 &amp; PHP 8.1 Template Error
Last modified: April 7, 2023

---

# PHP 8 & PHP 8.1 Template Error

 *  [Sten](https://wordpress.org/support/users/stentch/)
 * (@stentch)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/)
 * Hi, i need help with template created by Kadence. I cant switch to php 8.1 (or
   php 8) becouse template created by Kadence Email Designer look very bad (broken).
   On php 7.4 is everything fine. You can take a look at the pictures to see how
   different ordering looks in Outllook:
 * php 7.4 – [https://ibb.co/M9GqFqd](https://ibb.co/M9GqFqd)
   php 8.1 – [https://ibb.co/XjJT2WB](https://ibb.co/XjJT2WB)
 * Thank you for tips
    -  This topic was modified 3 years, 1 month ago by [Sten](https://wordpress.org/support/users/stentch/).

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16650471)
 * Hi [@stentch](https://wordpress.org/support/users/stentch/),
 * Thanks for reaching out! The latest version of the WooCommerce Email Designer
   should be compatible with PHP 8 and I haven’t heard of others reporting this 
   issue. It’s possible you have another plugin that is conflicting. Are you using
   any other WooCommerce extensions? I suggest deactivating other plugins to test
   for conflicts. Let us know what you find.
 * Kindly,
 * Hannah
 *  Thread Starter [Sten](https://wordpress.org/support/users/stentch/)
 * (@stentch)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16651178)
 * I turn off every plugin what i could to make order, but without change :/
 * I also turn off every plugin (except Woocommerce and Kadence email designer) 
   and send Preview Email from Kadence Customizer and problem still persist..
    -  This reply was modified 3 years, 1 month ago by [Sten](https://wordpress.org/support/users/stentch/).
 *  Plugin Support [karlalevelup](https://wordpress.org/support/users/karlalevelup/)
 * (@karlalevelup)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16660199)
 * Hi, [@stentch](https://wordpress.org/support/users/stentch/)!
 * I’m sorry for the delay in getting back to you.
 * Comparing both of your screenshots, it looks like the settings you have are different(
   _e.g. the product image is not shown, and the table format is different_).
 * To ensure that the Email Customizer settings stay in tact, could you do these:
    1. On your **_test/staging_** website with PHP 7.4, export your Customizer settings.
       You can do this by going to _Email Customizer > **Import Export**_ – [https://share.getcloudapp.com/z8uGGzBx](https://share.getcloudapp.com/z8uGGzBx).
    2. Upgrade your PHP version to 8.1 again and go to the same settings in the Email
       Customizer.
    3. Upload the file downloaded and **_Import _**it – [https://share.getcloudapp.com/xQuRRrQB](https://share.getcloudapp.com/xQuRRrQB).
 * Please let us know if the layout while using PHP 8/8.1 will be fixed when you
   do this.
 * Kind regards,
   Karla
    -  This reply was modified 3 years, 1 month ago by [karlalevelup](https://wordpress.org/support/users/karlalevelup/).
 *  Thread Starter [Sten](https://wordpress.org/support/users/stentch/)
 * (@stentch)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16680745)
 * Hi, unfortunatelly without change :/ ..
 * Settings seems right, also in plugin preview is everything normal..
 *  Plugin Support [Gilbert Hernandez](https://wordpress.org/support/users/ghernkadence/)
 * (@ghernkadence)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16682023)
 * Hello [@stentch](https://wordpress.org/support/users/stentch/),
 * The emails don’t come with product images. Generally, you have to add code to
   add the images, which isn’t a Kadence WooCommerce Email Customizer feature. Here
   is a WooCommerce forum thread that explains as much: [https://wordpress.org/support/topic/product-images-not-showing-on-email/](https://wordpress.org/support/topic/product-images-not-showing-on-email/).
   There is an article linked in the thread that provides code to add images to 
   your email. However, you might have a plugin or theme that uses deprecated code
   to add the images. Please read through the article for the code and try adding
   it using your functions.php file or with a code snippets plugin.
 *  Thread Starter [Sten](https://wordpress.org/support/users/stentch/)
 * (@stentch)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16682130)
 * I dont understand, why is everything working on php 7.4?
 * I have not problem only with product images on php 8, but also with responsive
   design. When i change php from 7.4 to 8 emails design is completly broken..
 *  Plugin Support [karlalevelup](https://wordpress.org/support/users/karlalevelup/)
 * (@karlalevelup)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16694409)
 * Hi, Sten!
 * We’d need more information about this issue. Please could you send us a ticket
   on _[this page](https://www.kadencewp.com/free-support-tickets/)_ so we can communicate
   faster?
 * Kind regards,
   Karla

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

The topic ‘PHP 8 & PHP 8.1 Template Error’ is closed to new replies.

 * ![](https://ps.w.org/kadence-woocommerce-email-designer/assets/icon-256x256.png?
   rev=3115863)
 * [Kadence WooCommerce Email Designer](https://wordpress.org/plugins/kadence-woocommerce-email-designer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kadence-woocommerce-email-designer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/)
 * [Active Topics](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/reviews/)

## Tags

 * [outlook](https://wordpress.org/support/topic-tag/outlook/)
 * [php 7.4](https://wordpress.org/support/topic-tag/php-7-4/)
 * [php 8](https://wordpress.org/support/topic-tag/php-8/)

 * 7 replies
 * 4 participants
 * Last reply from: [karlalevelup](https://wordpress.org/support/users/karlalevelup/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/php-8-php-8-1-template-error/#post-16694409)
 * Status: not resolved