• Hello,

    Here’s a detailed description of the problem:

    • When I try to toggle the “Enable” or “Disable” button for a voucher, the button moves but the change is not saved.
    • Upon refreshing the page, the voucher status reverts to its original state.

    Troubleshooting Steps I’ve Already Tried:

    • I have the latest version for YITH WooCommerce Gift Cards plugin
    • I have ensured all WordPress core and WooCommerce plugins are updated to their latest versions.
    • I have cleared my browser cache and WordPress cache
    • All debug options are set in the config.php
    • I have checked for JavaScript errors in the browser console but haven’t found any.
    • I have disabled all plugins, except WooCommerce (because otherwise i don’t have acces to the plugin YITH), an try the default theme for WordPress

    I’ve try to debug myself, searched this forum and web for solutions but haven’t found a specific fix for this issue.

    If i may, I also have a second problem

    Everyday, multiple times a day, error appear in my debug or error server files:

    [02-Apr-2024 …] PHP Fatal error: Uncaught Error: Call to a member function get_coupons() on null in …/wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-cart-checkout.php:270

    Stack trace:
    #0 …/wp-includes/class-wp-hook.php(324): YITH_YWGC_Cart_Checkout->ywgc_allow_shipping_in_coupons(NULL)
    #1 …/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #2 …/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 …/wp-content/plugins/fusion-builder/shortcodes/fusion-woo-cart-table.php(340): do_action(‘woocommerce_aft…’, NULL)
    $4 …/wp-content/plugins/fusion-builder/shortcodes/fusion-woo-cart-table.php(259): FusionSC_WooCartTable->generate_table_content()
    #5 …/wp-includes/shortcodes.php(433): FusionSC_WooCartTable->render(Array, ‘\r\n<p>Cart is …’, ‘fusion_woo_cart…’)
    #6 [internal function]: do_shortcode in …/wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-cart-checkout.php on line 270

    If you could help me out with this to, I would greatly appreciate it!

    Thank you for your time and support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • ME TOO!!!

    Plugin Support Pablo Pérez

    (@pperez001)

    Hi,

    Thank you for opening this topic and let us know your problem,

    We could replicate your issue with the enable/disable toggle, we will include a fix in the next update.

    Regarding your other issue, inside the error it mentions other elements outside WooCommerce and our plugin, could you disable your plugins except ours and WooCommerce, and check if you can still see this error?

    Let us know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin Voucher Toggle Button Not Saving Changes’ is closed to new replies.