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
admin@civicrm:/var/www/html$ cv ev 'echo 1'
[PHP Deprecation] str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated at /var/www/html/wp-includes/vars.php:120
[PHP Deprecation] str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated at /var/www/html/wp-includes/vars.php:120
[PHP Deprecation] str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated at /var/www/html/wp-includes/vars.php:127
[PHP Deprecation] str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated at /var/www/html/wp-includes/vars.php:134
[PHP Deprecation] str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated at /var/www/html/wp-includes/vars.php:134
[PHP Deprecation] str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated at /var/www/html/wp-includes/vars.php:141
[PHP Deprecation] str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated at /var/www/html/wp-includes/vars.php:141
1
This happens because wordpress does this in var/www/html/wp-includes/vars.php at line 120
This happens because wordpress does this in var/www/html/wp-includes/vars.php at line 120
According to https://www.php.net/manual/en/reserved.variables.server.php
The wp cli doesn't complain becuase earlier in
wp-includes/load.php
WordPress has done this:Is there some way that we can detect is cv is booting WP and if so do this
Otherwise we will have to live with those PHP Deprecation warnings for ever.
The text was updated successfully, but these errors were encountered: