Title: PHP error
Last modified: September 2, 2020

---

# PHP error

 *  Resolved [razzbk](https://wordpress.org/support/users/razzbk/)
 * (@razzbk)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-error-414/)
 * Hello,
 * I am getting PHP errors all over my site because of the plugin.
 * The message is “Trying to access array offset on value of type bool” and the 
   locations are:
    wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-
   one-page-checkout-and-layouts.php:208
 * wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-one-page-
   checkout-and-layouts.php:209
 * wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-one-page-
   checkout-and-layouts.php:210
 * wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-one-page-
   checkout-and-layouts.php:211
 * wp-content/plugins/custom-checkout-layouts-for-woocommerce/woocommerce-one-page-
   checkout-and-layouts.php:212
 * All of them have the same message and the component is Plugin: custom-checkout-
   layouts-for-woocommerce.
 * Can you help to solve this problem?
 * // Rasmus
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-414%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Rupinder Kaur](https://wordpress.org/support/users/coolcoders/)
 * (@coolcoders)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-error-414/#post-13350369)
 * Hi [@razzbk](https://wordpress.org/support/users/razzbk/) ,
 * we are not able to see this this error at our end. The error may be related to
   your PHP version. But still i am still sending you a file link. Can you please
   replace the given file with plugin’s main file (go to plugins\custom-checkout-
   layouts-for-woocommerce and replace ‘woocommerce-one-page-checkout-and-layouts.
   php’)
    Here is the link [https://drive.google.com/file/d/13_3YXjfkFDrBTISwHfhDgUfDwnl_r8XE/view?usp=sharing](https://drive.google.com/file/d/13_3YXjfkFDrBTISwHfhDgUfDwnl_r8XE/view?usp=sharing)
 * Do let me know how it works.
 * Thanks
 *  Thread Starter [razzbk](https://wordpress.org/support/users/razzbk/)
 * (@razzbk)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-error-414/#post-13368215)
 * Hello,
 * Thank you for your response. The new PHP file did not solve the problem.
 * Do you have any other ideas to what can cause this?
 * //Rasmus
 *  Plugin Author [Rupinder Kaur](https://wordpress.org/support/users/coolcoders/)
 * (@coolcoders)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-error-414/#post-13369396)
 * Hi [@razzbk](https://wordpress.org/support/users/razzbk/) ,
 * well , That was the possible correct solution regarding this error. this section
   actually helps to set colors for headers and buttons. So if you can assign color
   manually.You can comment the problem causing section from plugin.
 * You can comment the style section from line no 206 to 215.
 * it is not a proper solution.it’s just a kind of adjustment with code if you need.
 * Do let me know if i can help you further.
 * Thanks

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

The topic ‘PHP error’ 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

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

 * 3 replies
 * 2 participants
 * Last reply from: [Rupinder Kaur](https://wordpress.org/support/users/coolcoders/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/php-error-414/#post-13369396)
 * Status: resolved