• Hi there,
    we found a bug at the URL checkout/order-received

    Here is the log reference:
    [Fri Jan 06 02:36:45.505914 2023] [proxy_fcgi:error] [pid 4690:tid 140646262032128] [client 120.153.223.212:0] AH01071: Got error ‘PHP message: PHP Fatal error:? Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/845699.cloudwaysapps.com/gqsjgbqswf/public_html/wp-content/plugins/official-sendle-shipping-method/sendle-shipment-booking.php:230\nStack trace:\n#0 /home/845699.cloudwaysapps.com/gqsjgbqswf/public_html/wp-content/plugins/official-sendle-shipping-method/sendle-shipment-booking.php(230): in_array()\n#1 /home/845699.cloudwaysapps.com/gqsjgbqswf/public_html/wp-includes/class-wp-hook.php(308): ossm_generate_sendle_reference()\n#2 /home/845699.cloudwaysapps.com/gqsjgbqswf/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#3 /home/845699.cloudwaysapps.com/gqsjgbqswf/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /home/845699.cloudwaysapps.com/gqsjgbqswf/public_html/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(80): do_action()\n#5 /home/845699.cloudwaysapps.com/gqsjgbqswf/public_html/wp-content/plugins/woocommerce/include…’, referer: https://sunshoweronline.com.au/checkout/

    We’re using the temporary fix below to solve it.
    File sendle-shipment-booking.php
    After the line 230:
    if(!$psoArr){
    $psoArr = array();
    }


    Hope you can update the plugin soon.
    Cheers

  • The topic ‘Critical Error on the Thank you page’ is closed to new replies.