Liquid Error Message showing on Checkout page

This is the content of the file as far as I can tell and error relates to line 10? I’m pretty new to this and need to get rid of this message that shows on the Checkout page.

Liquid Error (snippets/search-featured line 10): comparison of String with 1 failed

YOu must have pass actual collection handle in the line number 8.

instead of the [collection_handle] pass the actual collection which you have created for your store.

Line 10 should be like this:

{%- if collection != empty and collection.products_count > 1 -%}

Hi @JezzaH20

You can change your previous code from

{%- if collection and collection.products_count > 1 -%}
...
{%- endif -%}

to

{%- if collection -%}
   {%- if collection.products_count > 1 -%}
     ...
   {%- endif -%}
{%- endif -%}

Hope this solution help you!