• Resolved Stingraynut

    (@stingraynut)


    Woocommerce support found an entry in the debug log in wp-content, during checkout, that mentions this plugin, Flexible Shipping. They are investigating another problem, and have suggested I contact this plugin’s support to investigate this error entry.
    Here is the relevant entry –
    [29-Oct-2019 13:03:34 UTC] PHP Warning: array_keys() expects parameter 1 to be array, null given in /home/aawcomau/public_html/stage1/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 468
    [29-Oct-2019 13:03:34 UTC] PHP Warning: array_keys() expects parameter 1 to be array, null given in /home/aawcomau/public_html/stage1/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 439
    [29-Oct-2019 13:03:34 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /home/aawcomau/public_html/stage1/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 440
    [29-Oct-2019 13:03:34 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to Flexible_Shipping_Plugin::woocommerce_default_shipment_method() must be of the type array, null given, called in /home/aawcomau/public_html/stage1/wp-includes/class-wp-hook.php on line 286 and defined in /home/aawcomau/public_html/stage1/wp-content/plugins/flexible-shipping/classes/class-flexible-shipping-plugin.php:381
    Stack trace:
    #0 /home/aawcomau/public_html/stage1/wp-includes/class-wp-hook.php(286): Flexible_Shipping_Plugin->woocommerce_default_shipment_method(NULL, NULL, ‘flexible_shippi…’)
    #1 /home/aawcomau/public_html/stage1/wp-includes/plugin.php(208): WP_Hook->apply_filters(NULL, Array)
    #2 /home/aawcomau/public_html/stage1/wp-content/plugins/woocommerce/includes/wc-cart-functions.php(453): apply_filters(‘woocommerce_shi…’, NULL, NULL, ‘flexible_shippi…’)
    #3 /home/aawcomau/public_html/stage1/wp-content/plugins/woocommerce/includes/wc-cart-functions.php(417): wc_get_default_shipping_method_for_package(0, Array, ‘flexible_shippi…’)
    #4 /home/aawcomau/publ in /home/aawcomau/public_html/stage1/wp-content/plugins/flexible-shipping/classes/class-flexible-shipping-plugin.php on line 381

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author grola

    (@grola)

    Which plugin version do you have? In the currently available version, the code on the indicated line is different.
    Please update the plugin. If the problem persists, please let us know.

    Plugin Support Marta Borówka

    (@martapaw)

    As we haven’t got any replies, I’m marking this topic as resolved for now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error in debug log’ is closed to new replies.