• Resolved golansky

    (@golansky)


    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)
  • Same error for me with php 7.4

    Plugin Support rzepsen

    (@rzepsen)

    Hi?matata, 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://www.ads-software.com/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

    (@golansky)

    Hi @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 1 year, 2 months ago by golansky.
    Plugin Support rzepsen

    (@rzepsen)

    Hi 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 – 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

    (@golansky)

    rzespen

    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 1 year, 2 months ago by golansky.
    • This reply was modified 1 year, 2 months ago by golansky.
    Plugin Support rzepsen

    (@rzepsen)

    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

    (@rzepsen)

    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

    (@golansky)

    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.