Home Forums Basel support forum PHP warnings in BASEL Layered Nav Widget after WC 3 update

PHP warnings in BASEL Layered Nav Widget after WC 3 update

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12407

    altitudes89
    Participant

    Hello

    On line 323 of wp-content/themes/basel/inc/widgets/class-widget-layered-nav.php, it looks like the code needs to be updated according to standard WC widget:

    Change
    if ( $taxonomy === $query['taxonomy'] ) {
    to
    if ( is_array( $query ) && $taxonomy === $query['taxonomy'] ) {

    Found this because I had PHP warnings 😉

    #12410

    Artem Temos
    Keymaster

    Hello,

    Thank you for the report. We will fix it in our next theme update for sure 🙂

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)