-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
Milestone
Description
When running wp core version a Deprecation error is thrown by PHP with the following message:
Deprecated: file_get_contents(): Passing null to parameter #2 ($use_include_path) of type bool is deprecated in phar:///opt/wp-cli/wp-cli.phar/vendor/wp-cli/core-command/src/Core_Command.php on line 929I found the following line, that seems to cause the error:
core-command/src/Core_Command.php
Line 929 in 46a56de
| $version_content = file_get_contents( $versions_path, null, null, 6, 2048 ); |
Can anyone take a look at this?
Reactions are currently unavailable