Support » Plugin: Link Library » Warning/Error 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.


    – LC

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