• Resolved benjammin

    (@benjino)


    Not really sure what is going on here other than uasort() expects a different parameter. Any idea how I fix this?

    This is a site version in local development environment.

    ( ! ) Warning: uasort() expects parameter 1 to be array, boolean given in /Users/ben_/websites/sddementiaconsortium.dev.cc/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 245
    Call Stack
    # Time Memory Function Location
    1 0.0060 597328 {main}( ) …/index.php:0
    2 0.0061 599296 require( ‘/Users/ben_/websites/sddementiaconsortium.dev.cc/wp-blog-header.php’ ) …/index.php:17
    3 0.6637 62467928 require_once( ‘/Users/ben_/websites/sddementiaconsortium.dev.cc/wp-includes/template-loader.php’ ) …/wp-blog-header.php:19
    4 0.6971 63583016 include( ‘/Users/ben_/websites/sddementiaconsortium.dev.cc/wp-content/themes/customizr/index.php’ ) …/template-loader.php:74
    5 0.8241 64603584 do_action( ) …/index.php:42
    6 0.8241 64603960 WP_Hook->do_action( ) …/plugin.php:453
    7 0.8241 64603960 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    8 0.8242 64605088 CZR_page->czr_fn_page_content( ) …/class-wp-hook.php:286
    9 0.8257 64626112 the_content( ) …/czr-front-ccat.php:4526
    10 0.8257 64626160 apply_filters( ) …/post-template.php:240
    11 0.8257 64626560 WP_Hook->apply_filters( ) …/plugin.php:203
    12 0.8261 64628328 do_shortcode( ) …/class-wp-hook.php:286
    13 0.8262 64632592 preg_replace_callback ( ) …/shortcodes.php:197
    14 0.8262 64633320 do_shortcode_tag( ) …/shortcodes.php:197
    15 0.8262 64633320 WC_Shortcodes::checkout( ) …/shortcodes.php:319
    16 0.8262 64633320 WC_Shortcodes::shortcode_wrapper( ) …/class-wc-shortcodes.php:95
    17 0.8268 64693656 WC_Shortcode_Checkout::output( ) …/class-wc-shortcodes.php:72
    18 0.8268 64693656 WC_Shortcode_Checkout::checkout( ) …/class-wc-shortcode-checkout.php:67
    19 0.8343 64844568 wc_get_template( ) …/class-wc-shortcode-checkout.php:274
    20 0.8344 64855656 include( ‘/Users/ben_/websites/sddementiaconsortium.dev.cc/wp-content/plugins/woocommerce/templates/checkout/form-checkout.php’ ) …/wc-core-functions.php:208
    21 0.8357 64865960 WC_Checkout->get_checkout_fields( ) …/form-checkout.php:34
    22 0.8394 64910360 uasort ( ) …/class-wc-checkout.php:245

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

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello,
    The issue seems to be with a 3rd-party plugin affecting the checkout fields or custom code.

    Do you have any plugin or custom code that changes the checkout fields somehow? If so, try to disable that temporarily and see if the issue is still there.

    Thread Starter benjammin

    (@benjino)

    Yes, Themehigh’s Checkout Field Editor when deactivated makes the issue go away. I put in a ticket with them.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for letting us know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: uasort() expects parameter 1 to be array’ is closed to new replies.