Title: Undefined variable $linkcatquery
Last modified: September 20, 2022

---

# Undefined variable $linkcatquery

 *  [Peter Bootsma](https://wordpress.org/support/users/pajbootsma/)
 * (@pajbootsma)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/undefined-variable-linkcatquery/)
 * Hello Yannick,
    Installed your plugin, defined some 10 categories and added a
   bunch of links as administrator. Then set ‘Minimum role for Link editing’. Now,
   on the [link-library-addlink] page I get this: “Warning: Undefined variable $
   linkcatquery in /home/noordenduurzaam/rpccnn.nl/htdocs/wp-content/plugins/link-
   library/render-link-library-addlink-sc.php on line 415”. Logged in users clicking
   on [https://www.rpccnn.nl/wp-admin/post-new.php?post_type=link_library_links](https://www.rpccnn.nl/wp-admin/post-new.php?post_type=link_library_links)
   get redirected to home without error message. What am I doing wrong? Thanks in
   advance, Peter
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-linkcatquery%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/undefined-variable-linkcatquery/#post-16042458)
 * This warning has been corrected in version 7.4. Please update and confirm. Also
   consider donating to support this plugin’s development. I should note that this
   warning should normally only be generated when Link Library is configured to 
   be in Debug Mode under the plugin’s general options section. While this option
   is useful to figure out issues with a site, it should not be turned on otherwise.

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable $linkcatquery’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/undefined-variable-linkcatquery/#post-16042458)
 * Status: not resolved