Skip to content

Conversation

ranqiangjun
Copy link

See PHP RFC: Deprecate autovivification on false https://wiki.php.net/rfc/autovivification_false

Got the error on a Drupal instance with memcache module and memcache_admin sub module enabled.

PHP: 8.1.11
Drupal core: 9.5.0-rc1
memcache module : 2.5.0

Note: in the test: memcache:11211 (hostname: memcache, port: 11211) is the memcached instance running with the docker image bitnami/memcached:1.6.9

Location: https://example.com/admin/reports/memcache/default/memcache%3A11211
Referrer: https://example.com/admin/reports/memcache/default
Message (partial):

image

@symfony-bot
Copy link

symfony-bot bot commented Dec 6, 2022

Thanks for your pull request! We love contributions.

However, this repository is what we call a "subtree split": a read-only copy of one directory of the main Symfony repository. It is used by Composer to allow developers to depend on specific Symfony components.

If you want to contribute, you should instead open a pull request on the main repository:

https://github.com/symfony/symfony

Thank you for your contribution!

PS: if you haven't already, please add tests, and beware that bug fixes should be submitted on the lowest maintained branch where they apply.

$server['PATH_INFO'] = '';
$server['REQUEST_METHOD'] = strtoupper($method);

$components = parse_url($uri);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parse_url('/admin/reports/memcache/default/memcache:11211'); returns false

@ranqiangjun ranqiangjun changed the base branch from 6.2 to 6.4 May 7, 2024 10:27
@ranqiangjun
Copy link
Author

 $components = parse_url($uri); <<<<<<< 6.2 if (!$components) { ======= if (false === $components) { trigger_deprecation('symfony/http-foundation', '6.3', 'Calling "%s()" with an invalid URI is deprecated.', __METHOD__); >>>>>>> 6.4 

Note an issue in 6.4

@ranqiangjun ranqiangjun closed this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant