I have installed Drupal 5.1 and embedded Gallery 2 into it using the following tutorials:
http://codex.gallery2.org/Gallery2:How_to_Embed_Gallery2_in_Drupal & http://drupal.galleryembedded.com/index.php?title=Installation

At random when I click on my main Gallery link from Drupal sidebar or if I go to Drupal Admin>Clean URL's or even some other links, I get the following error:

warning: Missing argument 3 for render() in /home/content/I/m/S/ImSpicy/html/gallery2/modules/core/classes/GalleryDerivativeImage.class on line 181.

In addition I often get blank white pages with 2 to 3 Thumbnails on them. No Drupal, no Gallery containers. Clicking refresh gets me to my destination, but why is thi shappening?

Appreciate any feedback. Thanks