Title: [Plugin: Link Library] undefined index errors with WP_DEBUG
Last modified: August 20, 2016

---

# [Plugin: Link Library] undefined index errors with WP_DEBUG

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-link-library-undefined-index-errors-with-wp_debug/)
 * When link library is active with WP_DEBUG set to true, there is an undefined 
   variable warning and several undefined index warnings on link library’s general
   settings page and an undefined index warning on the front end.
 * [http://wordpress.org/extend/plugins/link-library/](http://wordpress.org/extend/plugins/link-library/)

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

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-link-library-undefined-index-errors-with-wp_debug/#post-2616960)
 * I corrected all of the undefined variable errors that I could catch with WP_DEBUG
   on in my configuration. Please update to the latest version and let me know if
   you see any more warnings in your installation. If not, please mark the issue
   as resolved.
 * Thanks.
 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-link-library-undefined-index-errors-with-wp_debug/#post-2616964)
 * Thanks Yannick
 * I just installed the version 5.4.7 on a local test site with WP_DEBUG on & got
   the Notice:
 *     ```
       Undefined index: includescriptcss in .../link-library/link-library.php on line 5699
       ```
   
 * on the front end
 * Then on the Link Library General Settings page:
 *     ```
       Notice:  Undefined variable: options in .../link-library/link-library.php on line 1022
       ```
   
 * and
 *     ```
       Notice:  Undefined index: includescriptcss in .../link-library/link-library.php on line 1664
       Notice:  Undefined index: debugmode in .../link-library/link-library.php on line 1668
       Notice:  Undefined index: pagetitleprefix in .../link-library/link-library.php on line 1672
       Notice:  Undefined index: pagetitlesuffix in .../link-library/link-library.php on line 1676
       Notice:  Undefined index: thumbshotscid in .../link-library/link-library.php on line 1680
       Notice:  Undefined index: linksubmissionthankyouurl in .../link-library/link-library.php on line 1706
       Notice:  Undefined index: moderationnotificationtitle in .../link-library/link-library.php on line 1710
       Notice:  Undefined index: emaillinksubmitter in .../link-library/link-library.php on line 1714
       Notice:  Undefined index: usefirstpartsubmittername in .../link-library/link-library.php on line 1718
       Notice:  Undefined index: moderatorname in .../link-library/link-library.php on line 1722
       Notice:  Undefined index: moderatoremail in .../link-library/link-library.php on line 1726
       Notice:  Undefined index: approvalemailtitle in .../link-library/link-library.php on line 1730
       Notice:  Undefined index: approvalemailbody in .../link-library/link-library.php on line 1734
       Notice:  Undefined index: rejectedemailtitle in .../link-library/link-library.php on line 1738
       Notice:  Undefined index: rejectedemailbody in .../link-library/link-library.php on line 1742
       ```
   
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-link-library-undefined-index-errors-with-wp_debug/#post-2617006)
 * Could you try going to the “Link Library General Settings” page and saving the
   settings? Most of these are options that were introduced in relatively recent
   versions. Have you been a Link Library user for some time?
 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-link-library-undefined-index-errors-with-wp_debug/#post-2617008)
 * Thanks Yannick. I have used Link Library for a while on another site, but this
   is a new local site.
 * I had already tried saving the settings, but the notices were still present, 
   but on further investigation with WP_DEBUG set to false it appears that the notices
   shown within input boxes had actually been saved as the values for those fields.
   I cleared the values in Link Library General Settings and saved again. Then when
   WP_DEBUG was set to true, the only notice that appeared on that page was the ‘
   Undefined variable: options…’ one at the top of the page.

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

The topic ‘[Plugin: Link Library] undefined index errors with WP_DEBUG’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-link-library-undefined-index-errors-with-wp_debug/#post-2617008)
 * Status: not resolved