WordPress.org

Support

Support » Plugins and Hacks » Warning/Error in code

Warning/Error in code

  • Store Locator Plus
    Participant

    @charlestonsw

    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/

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