Warning: count(): Parameter must be an array or an object that implements Countable in /home/cp48372/digiforoshgah.com/wp-content/themes/ShopKadeh/inc/elements/shop/product-filter.php on line 835
خطای پایگاهدادهٔ وردپرس : [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') GROUP BY terms.term_id' at line 17] SELECT COUNT( DISTINCT wpsk_posts.ID ) AS term_count, terms.term_id AS term_count_id FROM wpsk_posts
INNER JOIN wpsk_term_relationships AS term_relationships ON wpsk_posts.ID = term_relationships.object_id
INNER JOIN wpsk_term_taxonomy AS term_taxonomy USING( term_taxonomy_id )
INNER JOIN wpsk_terms AS terms USING( term_id )
LEFT JOIN wpsk_term_relationships ON (wpsk_posts.ID = wpsk_term_relationships.object_id)
WHERE wpsk_posts.post_type IN ( 'product' )
AND wpsk_posts.post_status = 'publish'
AND (
wpsk_posts.ID NOT IN (
SELECT object_id
FROM wpsk_term_relationships
WHERE term_taxonomy_id IN (7)
)
AND
wpsk_term_relationships.term_taxonomy_id IN (94)
)
AND terms.term_id IN () GROUP BY terms.term_id
Warning: count(): Parameter must be an array or an object that implements Countable in /home/cp48372/digiforoshgah.com/wp-content/themes/ShopKadeh/inc/elements/shop/product-filter.php on line 835
خطای پایگاهدادهٔ وردپرس : [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') GROUP BY terms.term_id' at line 17] SELECT COUNT( DISTINCT wpsk_posts.ID ) AS term_count, terms.term_id AS term_count_id FROM wpsk_posts
INNER JOIN wpsk_term_relationships AS term_relationships ON wpsk_posts.ID = term_relationships.object_id
INNER JOIN wpsk_term_taxonomy AS term_taxonomy USING( term_taxonomy_id )
INNER JOIN wpsk_terms AS terms USING( term_id )
LEFT JOIN wpsk_term_relationships ON (wpsk_posts.ID = wpsk_term_relationships.object_id)
WHERE wpsk_posts.post_type IN ( 'product' )
AND wpsk_posts.post_status = 'publish'
AND (
wpsk_posts.ID NOT IN (
SELECT object_id
FROM wpsk_term_relationships
WHERE term_taxonomy_id IN (7)
)
AND
wpsk_term_relationships.term_taxonomy_id IN (94)
)
AND terms.term_id IN () GROUP BY terms.term_id