Notice: Array to string conversion in gitinfo_requirements() (line 93 of modules/contrib/gitinfo/gitinfo.install).

Comments

lolandese created an issue. See original summary.

lolandese’s picture

Suspicion is that this happens when running in a Virtual Machine.

lolandese’s picture

Nope. Needs to be fixed. Arrays and strings should not be concatenated.

ArrayNo git folders can be detected. Check the folder permissions or run sudo updatedb first to update the Linux 'locate' cache. On OSX this is sudo /usr/libexec/locate.updatedb.
Array

lolandese’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB

Attached patch uses a render array in the correct way.

  • lolandese committed a253286 on 8.x-1.x
    Issue #2942543 by lolandese: Notice: Array to string conversion
    
lolandese’s picture

Status: Needs review » Fixed
StatusFileSize
new30.64 KB

See screenshot:
Screenshot

Status: Fixed » Closed (fixed)

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