Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31592

Charleston Software Associates on "[Plugin: Link Library] Warning/Error in code"

$
0
0

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/


Viewing all articles
Browse latest Browse all 31592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>