WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Get this error after adding product

[Resolved] Get this error after adding product

  • DorisB
    Member

    @dorisb

    Great plugin. I keeping getting the following error at the top of the checkout page after adding a product.

    Warning: in_array() expects parameter 2 to be array, string given in /home/******/public_html/*****.com/wp-content/plugins/woocommerce-table-rates/tablerates.php on line 185

    http://wordpress.org/plugins/woocommerce-table-rates/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rpletcher
    Member

    @rpletcher

    The issue that you are having should be resolved. Let me know if you continue to have issues, if you do contact me directly so I can review what is happening on your site.

    I just installed woocommerce 2.0.14 and this plugin. Did some basic configuration and get this same error when I am on cart page.
    “Warning: in_array() expects parameter 2 to be array, string given in C:\wamp\www\wordpress-3.6\wp-content\plugins\woocommerce-table-rates\tablerates.php on line 189” I was setting up the cart to only sell within US.

    Plugin Author rpletcher
    Member

    @rpletcher

    Currently I am working on a fix for this issue. It appears that there were two issues and I only resolved one. If you are getting this issue you will need to setup the Local Countries field to the country that you are in. You will do this even if you are not shipping to an international address it does require that there is a local country.

    You can follow this issue at my support page at the following address.
    https://ryanpletcher.com/support/topic/warning-in_array-expects-parameter-2-to-be-array

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Get this error after adding product’ is closed to new replies.