Title: [Bug] flexible-checkout-fields/classes/plugin.php
Last modified: January 9, 2024

---

# [Bug] flexible-checkout-fields/classes/plugin.php

 *  Resolved [golansky](https://wordpress.org/support/users/golansky/)
 * (@golansky)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/)
 * Hi,
 * I found bug in file flexible-checkout-fields/classes/plugin.php.
 * It’s related with php 8.3, you didn’t wrap array index in isset().
 * unset( $base[ $key ][‘placeholder’] );
 * unset( $base[ $key ][‘label’] );
 * unset( $base[ $key ][‘class’] );

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

 *  [matata](https://wordpress.org/support/users/matata/)
 * (@matata)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17329655)
 * Same error for me with php 7.4
 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17331592)
 * Hi [matata](https://wordpress.org/support/users/matata/), [golansky](https://wordpress.org/support/users/golansky/)
 * Thank you for this message. We have already analyzed the error message, and it
   comes out that the problem is on the WooCommerce, as you can see in their plugin
   forum. [https://wordpress.org/support/plugin/woocommerce/](https://wordpress.org/support/plugin/woocommerce/)
 * Please downgrade the WooCommerce plugin to version 8.4.0, our plugin will work
   correctly. If there is a new update that fixes the version 8.5.0 error, you will
   be able to upgrade WooCommerce again.
 * Best regards
 *  Thread Starter [golansky](https://wordpress.org/support/users/golansky/)
 * (@golansky)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17331614)
 * Hi [@rzepsen](https://wordpress.org/support/users/rzepsen/),
 * Downgrading WooCommerce is not a solution.
 * When you release an updated version of your plugin, please include the solution
   I mentioned, which involves wrapping this lines with an isset function ?
    -  This reply was modified 2 years, 4 months ago by [golansky](https://wordpress.org/support/users/golansky/).
 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17334658)
 * Hi [golansky](https://wordpress.org/support/users/golansky/)
 * Thank you for a detailed explanation. Could you send an error message in feedback?
 * This problem may be related to other plugins used in your shop. Please try to
   isolate an issue, by disabling plugins which are not our or WooCommerce. Then
   please enable plugins individually, delete the cache, and check if the problem
   still exists.
 * If yes, please test the plugin again, but now using [Storefront](http://wordpress.org/themes/storefront/)–
   official WooCommerce theme. It will help us identify a possible conflict with
   your theme.
 * Please, let me know about the result.
 * Best Regards,
 *  Thread Starter [golansky](https://wordpress.org/support/users/golansky/)
 * (@golansky)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17338359)
 * [rzespen](https://wordpress.org/support/users/rzepsen/)
   I am just reporting an
   error that I have fixed myself in your plugin. It is not related to other plugins
   but rather to PHP 8.0 and above, as well as the new version of WooCommerce.
    -  This reply was modified 2 years, 4 months ago by [golansky](https://wordpress.org/support/users/golansky/).
    -  This reply was modified 2 years, 4 months ago by [golansky](https://wordpress.org/support/users/golansky/).
 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17344628)
 * Hi
 * That $base[ $key should be an array. That’s what the error in Woocommerce 8.5.0
   was. It was returning an array with some attachments.
 * We tested our plugin with PHP 8.3 and couldn’t get error messages. Could you 
   tell me what WooCommerce version you run tests?
 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17347622)
 * Hi,
 * We have just released the Flexible Checkout Fields 3.6.0 update, containing the
   proper fixes for the problem you’ve reported. It’s compatible with the latest
   WooCommerce version. So please simply do the update.
 * If the WordPress updater hasn’t informed you about the newer versions available,
   please check for the updates manually, choosing the Dashboard tab > Updates >
   Check Again option.
 * Please let me know if you have any further questions or if there is something
   more I can help you with.
 * Kind regards,
 *  Thread Starter [golansky](https://wordpress.org/support/users/golansky/)
 * (@golansky)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17347665)
 * Great news, so I’m closing the thread.

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

The topic ‘[Bug] flexible-checkout-fields/classes/plugin.php’ is closed to new replies.

 * ![](https://ps.w.org/flexible-checkout-fields/assets/icon-256x256.gif?rev=2522628)
 * [Flexible Checkout Fields for WooCommerce - WooCommerce Checkout Manager](https://wordpress.org/plugins/flexible-checkout-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-checkout-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-checkout-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-checkout-fields/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [golansky](https://wordpress.org/support/users/golansky/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/bug-flexible-checkout-fields-classes-plugin-php/#post-17347665)
 * Status: resolved