Title: Warning/Error in code
Last modified: August 21, 2016

---

# Warning/Error in code

 *  [Lance Cleveland](https://wordpress.org/support/users/charlestonsw/)
 * (@charlestonsw)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/warningerror-in-code/)
 * Notice: Undefined index: nocatonstartup in /home/wpmu/wp-content/plugins/link-
   library/link-library.php on line 2497
 * Shows up in the error log files. Turn on debug logging & debug log in wp-content.
   php to see the warning/error. I leave it turned on with my site to catch errors
   in my store locations plugin.
 * This can usually be fixed with something like:
 * if (isset($blah[‘nocatonstartup’]) && $blah[‘nocatonstartup’])) {
    do this… }
 * Testing with isset before checking a variable value is a great way to patch code
   without having to rewrite the entire variable initialization process.
 * HTH.
 * – LC
 * [http://wordpress.org/extend/plugins/link-library/](http://wordpress.org/extend/plugins/link-library/)

The topic ‘Warning/Error in code’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Lance Cleveland](https://wordpress.org/support/users/charlestonsw/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/warningerror-in-code/)
 * Status: not resolved