Home Forums Themes Zorka php7.2 error

php7.2 error

  • Author
  • #77059


    any quick fix for the error below on php7.2? the error does not occur on php7.1

    Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/themes/zorka/woocommerce/single-product/meta.php on line 28

    line 28 is “$tag_count = sizeof( get_the_terms( $post->ID, ‘product_tag’ ) );”

Cannot reply in this topic, If you have any issue, please create new topic