• I’m getting the following error when I use the colour filter widget

    Warning: in_array() expects at least 2 parameters, 1 given in …./yith-woocommerce-ajax-navigation/widgets/class.yith-wcan-navigation-widget.phpon line 474

    This seems to affect a lot of sites because if you google that error it shows in the search listings for hundreds of sites.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lukelukeluke

    (@lukelukeluke)

    It seems that this error occurs when the color filter widget is set to OR and only 1 colour is chosen. When it is set to AND it works fine. And when it is set to OR and you select more than 1 colour then it works fine too.

    Plugin Author YITHEMES

    (@yithemes)

    Hi @lukelukeluke,

    do you have this issue with the latest version of Ajax Product filter plugin ?
    Let me know.
    Thanks
    Have a nice day
    YITH

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: in_array() expects at least 2 parameters, 1 given’ is closed to new replies.