the links widget included in widgets.php only works with h2/li themes, which mine is not, nor is fauna, nor a few others. i’m trying to write a replacement widget, but i’m quite the n00b with PHP. i’m getting this error:
Fatal error: Call to a member function on a non-object in c:... ...wordpresswp-contentthemesdisconnected 1.0.2functions.php on line 24
here’s my functions.php:
line 24 starts with $link_cats…
from googling the error, it looks like $link_cats is undefined.
that section comes from the codex, so i’m wondering if maybe i need to do something to my widget to make the variable abailable to it? or is there something else broken, and this is just a symptom?
you can see the error at my test blog