First of all, thanks for the great work you've done on this, and on keeping the issue queue clean! With such a complex module it's amazing that you can keep the open issues to a minimum.

On to my issue: Since installing Node Gallery my error logs are filled with these two errors:

Notice: Trying to get property of non-object in node_gallery_api_tokens() (line 482 of /sites/all/modules/node_gallery/node_gallery_api.module).

Notice: Undefined index: node in node_gallery_api_tokens() (line 477 of /sites/all/modules/node_gallery/node_gallery_api.module).

I can't be certain because there are several errors per minute, which prevents me from looking at all of them, but it seems that the error messages are primarily occurring on individual node pages.

The error messages are critical, but it means I can't see any other errors in my logs because these are coming so fast and furious.

I appreciate any help you can give!

Files: 

Comments

*aren't critical

UPDATE: updated to 7.x-1.0-beta3+5-dev and now the errors are on 489 and 490:

Notice: Undefined index: node in node_gallery_api_tokens() (line 489 of /sites/all/modules/node_gallery/node_gallery_api.module).

Notice: Trying to get property of non-object in node_gallery_api_tokens() (line 494 of /sites/all/modules/node_gallery/node_gallery_api.module).

Any ideas or advice on how to troubleshoot this would be welcome. While they're not bringing my site down, these messages come in so fast that I can't see any other php notices in dblog.

StatusFileSize
new566 bytes

Hmm...I'm not seeing messages like that on my system, but here's a patch that should probably stop them.

THANK YOU!!!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.