You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/civix/src/CRM/CivixBundle/Command/InitCommand.php on line 231
Says it all? Using php8.1, just downloaded civix via the tarball.
The text was updated successfully, but these errors were encountered:
@adixon That's weird. This is the context of line 231 (and it's the only trim() in the file):
if (\CRM\CivixBundle\Utils\Commands::findExecutable('git')) {
$result = trim(`git config --get $key`);
}
Any idea how git config could return null? In the worst case, I would expect it to output '' or some textual noise. I'm not aware any null construct for pipes/subprocesses.
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/civix/src/CRM/CivixBundle/Command/InitCommand.php on line 231
Says it all? Using php8.1, just downloaded civix via the tarball.
The text was updated successfully, but these errors were encountered: