Title: Hide array waring message from frontend
Last modified: July 27, 2021

---

# Hide array waring message from frontend

 *  [faheem6055](https://wordpress.org/support/users/faheem6055/)
 * (@faheem6055)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-array-waring-message-from-frontend%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Simrandeep Singh](https://wordpress.org/support/users/simrandeep/)
 * (@simrandeep)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/hide-array-waring-message-from-frontend/#post-14704815)
 * Hi [@faheem6055](https://wordpress.org/support/users/faheem6055/)
 * The error is not visible on the given link

Viewing 1 replies (of 1 total)

The topic ‘Hide array waring message from frontend’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Simrandeep Singh](https://wordpress.org/support/users/simrandeep/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/hide-array-waring-message-from-frontend/#post-14704815)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
