Make sure that you have this bit of code in your functions_gallery_editimage.php file:
Code:
Content visible to verified customers only.
The @ symbol in front of the function should prevent any errors from being printed out, so you shouldn't have that problem as long as the @ symbol is there.