Seeing only a dark area instead of the thumbails and pictures. The Apache log is showing the following error:
PHP Notice: Trying to get property of non-object in {/my/site/root}/sites/all/modules/brilliant_gallery/image.php on line 82, referer: http://mysite/en/content/album1
Will look at the code to see what the problem is.
Platform Info:
- Drupal 5.10 (same problem with 5.6, 5.9)
- Linux: Suse Linux 10.1
- Apache 2.2
- PHP 5.1
Comments
Comment #1
prodosh commentedCommenting out line 82:
$userId = $user->uid;fixes the problem.(If you are not familiar with php, insert a # before the line of code)
Does this line of code serve a necessary function or should it not to be there?
Vacillando, could you please fix it in your next release - that will help an awful lot of folks like me who use Brilliant Gallery a lot, because it simply is brilliant and easy to use.
Comment #2
vacilando commentedThanks, pban02 -- indeed, that line was not needed anymore and I've commented it out now. See the upcoming dev release.