Title: Errors after php 7.4 upgrade
Last modified: March 28, 2021

---

# Errors after php 7.4 upgrade

 *  Resolved [Amy](https://wordpress.org/support/users/synthea/)
 * (@synthea)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/errors-after-php-7-4-upgrade/)
 * These errors started after I updated to php 7.4 and downgrading doesn’t help.
   I uninstalled, cleaned the database, and reinstalled, and still get the errors.
 *     ```
       Notice: Trying to access array offset on value of type bool in *public_html/wp-content/plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout/form-checkout.php on line 28
   
       Notice: Trying to access array offset on value of type null in *public_html/wp-content/plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout/form-checkout.php on line 28
   
       Notice: Trying to access array offset on value of type bool in *public_html/wp-content/plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout/form-checkout.php on line 29
   
       Notice: Trying to access array offset on value of type null in *public_html/wp-content/plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout/form-checkout.php on line 29
   
       Notice: Trying to access array offset on value of type bool in *public_html/wp-content/plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout/form-checkout.php on line 30
   
       Notice: Trying to access array offset on value of type null in *public_html/wp-content/plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout/form-checkout.php on line 30
       ```
   
 * Edit: 7.3 and 7.4 break the plugin, but it works in 7.2. This wasn’t the only
   plugin to break when I upgraded.
    -  This topic was modified 5 years, 2 months ago by [Amy](https://wordpress.org/support/users/synthea/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rupinder Kaur](https://wordpress.org/support/users/coolcoders/)
 * (@coolcoders)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/errors-after-php-7-4-upgrade/#post-14246625)
 * Hi @ Amy,
 * For this particular error you can comment/remove line no 27 to 30 in file
    plugins\
   custom-checkout-layouts-for-woocommerce\WooCommerce\checkout\form-checkout.php.
   We will update this in newer version.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Errors after php 7.4 upgrade’ is closed to new replies.

 * ![](https://ps.w.org/custom-checkout-layouts-for-woocommerce/assets/icon-256x256.
   jpg?rev=2079391)
 * [One page checkout and layouts for woocommerce](https://wordpress.org/plugins/custom-checkout-layouts-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Rupinder Kaur](https://wordpress.org/support/users/coolcoders/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/errors-after-php-7-4-upgrade/#post-14246625)
 * Status: resolved