Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor opr18

    (@opr18)

    Hi @jumpcutjeff I noticed the country field on your site is being targeted by “select2” which it should not be.

    Something is importing /wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js?ver=10.2.1

    Could you install and activate Query Monitor and then view the checkout page.

    At the top, you’ll notice some numbers, e.g. 1.35s 19.3mb 0.03s 215q

    If you click that, then go to Scripts, you will see a list of scripts at the bottom.

    Please find the one that has the handle: wc-checkout and look at what its dependents are. If possible, also look for select2 and its dependents. This will give us a clue as to what is enqueuing it and causing the country field to be overwritten.

    Thanks!

    Forum: Plugins
    In reply to: [WooCommerce] Orders
    Plugin Contributor opr18

    (@opr18)

    Hi @angusmansfield thanks for getting back to us

    “You have multiple WordPress image optimisation plugins installed. This may cause unpredictable behaviour while optimising your images, inaccurate reporting, or images to not display. For best results use only one image optimiser plugin at a time. These plugins may cause issues with Smush:”

    This does not seem related, although you may want to follow the advice on that notice.

    As for the other plugins, have you had a chance to disable them one by one until you’re able to add orders manually again?

    Thanks!

    Forum: Plugins
    In reply to: [WooCommerce] Orders
    Plugin Contributor opr18

    (@opr18)

    Hi @angusmansfield

    Here’s how to deactivate WordPress plugins:

    • Go to WordPress admin -> Plugins -> Installed Plugins
    • Select checkbox(s) next to plugin(s) to deactivate
    • Choose “Deactivate” from the Bulk Actions dropdown
    • Click “Apply”
    • Alternatively, click “Deactivate” under individual plugin names

    Please note that it’s probably best to do this in a staging environment as deactivating plugins will probably change how your site behaves. If you don’t have a staging site, then it may be best to do this during a low-traffic period for your site.

    Once you’ve done the test you can reactivate them in the same way you deactivated them, jut choose “Activate” from the bulk actions dropdown.

    Please let us know how it goes, thanks!

    Forum: Plugins
    In reply to: [WooCommerce] Fatal Error
    Plugin Contributor opr18

    (@opr18)

    Glad to hear it, thanks for letting us know it fixed the issue for you. Have a great day too!

    Forum: Plugins
    In reply to: [WooCommerce] Fatal Error
    Plugin Contributor opr18

    (@opr18)

    Hi @jayharle thanks for reporting this issue, it’s not something we’ve seen come up yet, so I think it could be something to do with your site’s specific setup.

    Given the error message, and it only happens to logged in customers, it could be to do with stale/invalid customer carts.

    Can you try clearing customer sessions to clean out the carts? WooCommerce > Status > Tools > Clear customer sessions > Clear

    Please note that this will clear all active customers’ carts, so any shoppers actively using the site would need to re-add the items, and any in-flight orders would likely fail, so you may want to wait until a quiet period to do this.

    Plugin Contributor opr18

    (@opr18)

    Thanks for reporting this issue with version 9.8.3.

    This behavior is unusual – we don’t have other reports of menu or category problems with this update.

    To help troubleshoot, can you answer the following, and also help us out with a system status report? (https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/#system-status)

    • Which theme are you using?
    • Do you have any plugins that modify menus or taxonomies?
    • Did you try disabling all plugins temporarily?
    • Does the issue persist if you switch to a default theme?

    The issue is likely a theme/plugin conflict rather than the core update itself. Glad you had a backup ready!

    Forum: Plugins
    In reply to: [WooCommerce] Orders
    Plugin Contributor opr18

    (@opr18)

    @angusmansfield thanks for the extra information, it would be helpful if you could share your System Status Report too.

    https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/#system-status

    Would you please also try disabling all plugins besides WooCommerce to see if it starts working again? If so, you could re-enable plugins one by one until it stops working and then we would know if the issue lies with a specific plugin.

    Thanks!

    Forum: Plugins
    In reply to: [WooCommerce] Orders
    Plugin Contributor opr18

    (@opr18)

    Hi @angusmansfield sorry to hear you can’t add orders manually via the WP Admin dashboard. Is this after updating to WooCommerce 9.8.3 or is it unrelated to the recent update?

    What happens when you try to do that? Do you see any error messages, does the site crash, or is it stuck loading forever?

    If you could share screenshots of anything you see while experiencing this, it would be helpful.

    Thanks!

    Plugin Contributor opr18

    (@opr18)

    Thanks for the info, which Checkout Field Editor are you using? It doesn’t seem to be possible to modify the postcode field via Woo’s Checkout Field Editor plugin

    Do you also have ” Hide shipping costs until an address is entered” (In WC -> Settings -> Shipping -> Shipping Settings) set to true?

    Plugin Contributor opr18

    (@opr18)

    @d88pak hi! thanks for the status report on GitHub – please can you share what shipping zones, shipping methods, and shipping settings you have set up on your site? For example do you have any fallback or “Rest of the world” zones, or only country-specific zones?

    Plugin Contributor opr18

    (@opr18)

    Hi @jadavsanjay thanks for your post.

    You can use the Additional Checkout Fields API to do this in the Checkout block.

    This system automatically includes the field and its value in the Order Confirmation page, Order admin, and admin/customer emails too.

    Hi there @glouton, could you try adding the priority and accepted_args parameters to the add_filter function, like so:

    add_filter(
    'edit_post_link',
    function( $link, $post_id, $text ) {
    $post = get_post($post_id);
    $slug = $post->post_name;

    if ( 'my-slug' === $slug ) {
    return '';
    }

    return $link;
    },
    10,
    3
    );

    The default value for the accepted_args is 1, but your closure is expecting 3, therefore apply_filters only sends the first argument over, resulting in the error.

    Let me know how this goes!

    Thanks, Thomas.

    Plugin Contributor opr18

    (@opr18)

    Hi, this may be related to some changes we made to how the JavaScript is loaded for the Cart and Checkout pages. If you purge/clear your cache and re-enable it, does that fix the error?

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