Okay. I added that line to the adm-cats.php file and no longer get the error but the watermark is still showing up on images of usergroups that are not suppose to have them.
TheURL to my gallery is:
http://xlforum.net/photopost/showgal...user=1&cat=500
and there should not be watermarks on my images but there are.