There was a similar error people were getting in 3.0 beta...
2 possible fixes..
1. Theoretically, the error should go away if you add a moderator.. (strange that not everybody gets it)
2. the fix that worked in 3.0 (no idea if it will in 2.x, but its worth a try)
open functions_gallery.php
around line 1064 there is a function :
Code:
Content visible to verified customers only.
to be able to undo changes, rename this function to
Code:
Content visible to verified customers only.
and above add:
Code:
Content visible to verified customers only.
the alternative fix seems to be to add a moderator to any category as this rebuilds the moderator cache that probably is not set. (I do not know if removing the moderator makes the error reappear.)
Luc
PS: renaming the original function has the only purpose in being able to undo the fix quickly in case it doesnt work.
The error cannot occur in vbg3, as at the moment of install, an empty array() is inserted in datastore vs NULL in 2.5