I'm getting the following PHP notice a lot of my dev install:

notice: Trying to get property of non-object in /Users/davereid/Dropbox/Projects/drupal6dev-git/sites/all/modules/git_deploy/git_deploy.module on line 156.

I'll look into this more next week to see if it's a bug in the module or the data provided to the module.

CommentFileSizeAuthor
#3 1082746_no_notice.patch735 bytesgreggles

Comments

likewhoa’s picture

confirmed here d6 dev

EDIT: seems to only be triggered with latest dev libraries module.

EDIT: still running into this with stable libraries so it's something with git_deploy or another module.

WD php: Trying to get property of non-object in                                        [error]
sites/all/modules/git_deploy/git_deploy.module on
line 159.
greggles’s picture

Title: PHP notice: Trying to get property of non-object in git_deploy.module on line 156 » PHP notice: Trying to get property of non-object in git_deploy.module on line 159

Workaround: The problem is solved once you've run the update.module check for module versions.

greggles’s picture

StatusFileSize
new735 bytes

Something like this.

Freso’s picture

Status: Active » Needs work

Did you omit the t() in the message function on purpose?

greggles’s picture

No, that was just a quick patch to give an idea. break; doesn't even work there, it should be return or something.

darren oh’s picture

Issue summary: View changes
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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