Title: notice error
Last modified: August 31, 2016

---

# notice error

 *  [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/)
 * I have an Notice on the Front-end :
 *  `Undefined index: choose_home_header in <b>/srv/data/web/vhosts/mywebsite/htdocs/
   other/wp-content/themes/pinnacle/front-page.php</b> on line <b>14`

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Asif Ullah](https://wordpress.org/support/users/asif5057/)
 * (@asif5057)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454060)
 * Hi
 * Make sure that WP_DEBUG is set to false in wp-config.php file.
 * Thanks
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454061)
 * ??? [@watt](https://wordpress.org/support/users/watt/)
    When you developed make
   sure that WP_DEBUG is set to TRUE.
 * Thanks
 *  [Asif Ullah](https://wordpress.org/support/users/asif5057/)
 * (@asif5057)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454063)
 * If you want to hide warnings so you have to set it to false.
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454064)
 * I don’t want to hide. I want that error be corrected.
 *  [Asif Ullah](https://wordpress.org/support/users/asif5057/)
 * (@asif5057)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454079)
 * Okay, Then go to Dashboard >> Customize >> Home Slider >> Choose a Home Image
   Slider, Try any other options from dropdown and click on “save & Publish” and
   then check if issue is still there. Let me know.
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454094)
 * No, the good answer is :
 *     ```
       if(isset($pinnacle['mobile_switch'])){
       	$home_header = $pinnacle['choose_home_header'];
       }
       else{
       	$home_header = "";
       }
       ```
   
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454179)
 * Hey madvic, I’ll have an update out soon that will check for this.
 * Thanks for posting.
 * Kadence Themes
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454180)
 * Thanks a lot

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘notice error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/pinnacle/1.8.10/screenshot.png)
 * Pinnacle
 * [Support Threads](https://wordpress.org/support/theme/pinnacle/)
 * [Active Topics](https://wordpress.org/support/theme/pinnacle/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/pinnacle/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/pinnacle/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [madvic](https://wordpress.org/support/users/madvic/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/notice-error-9/#post-7454180)
 * Status: not resolved