I have an annoying error sometimes when I restart mod_perl. It is actually on Forum pages but where I am pulling the category menu in from Links. The error is
Can't call method "table" on an undefined value at /path to admin/Links/Table/Category.pm line 44
It seems to be that $DB isn't being initialised properly. After this error, it works fine. Doesn't happen everytime, so I guess it must be where the forum page is shown before any Links pages have been shown.
Any ideas how I can stop it from happening?
Can't call method "table" on an undefined value at /path to admin/Links/Table/Category.pm line 44
It seems to be that $DB isn't being initialised properly. After this error, it works fine. Doesn't happen everytime, so I guess it must be where the forum page is shown before any Links pages have been shown.
Any ideas how I can stop it from happening?