Hide array waring message from frontend
-
i have noticed the array message displayed on single product page of some category-how to fix this
(
[0] => 185
[1] => 279
)
Array
(
)
Array
(
[fields] =>
SELECT DISTINCT ID FROM wp_posts p[join] => LEFT JOIN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN ( 39,41 ) ) AS exclude_join ON exclude_join.object_id = p.ID
[where] =>
WHERE 1=1
AND p.post_status = ‘publish’
AND p.post_type = ‘product’AND exclude_join.object_id IS NULL AND p.ID NOT IN ( 0,49522 )
[limits] =>
LIMIT 30)
Array
(
[fields] =>
SELECT DISTINCT ID FROM wp_posts p[join] => LEFT JOIN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN ( 39,41 ) ) AS exclude_join ON exclude_join.object_id = p.ID
[where] =>
WHERE 1=1
AND p.post_status = ‘publish’
AND p.post_type = ‘product’AND exclude_join.object_id IS NULL AND p.ID NOT IN ( 0,49522 )
[limits] =>
LIMIT 30[tax_query] => Array
(
[0] => Array
(
[taxonomy] => pa_shape
[field] => slug
[terms] => Array
(
))
)
)`
The page I need help with: [log in to see the link]
The topic ‘Hide array waring message from frontend’ is closed to new replies.