[Bug]: PHP 8.6: bundled guzzlehttp/promises loads class `Is` → "Using "is" as a class name is deprecated"
Maintainers usually reply within 4 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 73/100
Research direction
Start by checking composer.json and composer.lock for the bundled guzzlehttp/promises version, then find the vendor prefixing or rebuild instructions for vendor_prefixed. Update the dependency to a compatible release and rebuild the bundled files. Done means the reproduction request returns 200 without the PHP 8.6 deprecation from Is.php.
Written by the indexing model from the issue text.
Description
Prerequisites
- I've read and understood the contribution guidelines.
- I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
On PHP 8.6.0RC4 (PHP 8.6.0 is due 19 November 2026), the first request made through Yoast's bundled Guzzle client loads vendor_prefixed/guzzlehttp/promises/src/Is.php, and PHP logs:
Deprecated: Using "is" as a class name is deprecated since 8.6 in .../wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/promises/src/Is.php on line 6
guzzlehttp/promises 2.5.x calls Is::pending() / Is::settled() from its own Promise, FulfilledPromise, RejectedPromise, EachPromise and Utils classes, so any request through the client loads the class. composer.lock on trunk pins guzzlehttp/promises 2.5.1.
guzzlehttp/promises 2.6.0 (18 Oct 2026) adds State as the replacement, deprecates Is, and no longer calls Is itself, so Is.php is never loaded. Its requirements are the same as 2.5.x (php ^7.2.5 || ^8.0, symfony/deprecation-contracts ^2.5 || ^3.0). Changelog: https://github.com/guzzle/promises/blob/2.6.0/CHANGELOG.md
Step-by-step reproduction instructions
- Run WordPress 7.1.1 on PHP 8.6.0RC4 with Yoast SEO 28.8 active.
- Save this as
repro.phpand runwp eval-file repro.php(no network: the handler answers 200 itself):
<?php
$client = new \YoastSEO_Vendor\GuzzleHttp\Client( [
'handler' => \YoastSEO_Vendor\GuzzleHttp\HandlerStack::create( function () {
return new \YoastSEO_Vendor\GuzzleHttp\Promise\FulfilledPromise( new \YoastSEO_Vendor\GuzzleHttp\Psr7\Response( 200 ) );
} ),
] );
echo $client->request( 'GET', 'https://example.test/' )->getStatusCode(), "\n";
- See the deprecation above, then
200.
Expected results
- No PHP 8.6 deprecation notice from the bundled libraries.
Actual results
Deprecated: Using "is" as a class name is deprecated since 8.6fromvendor_prefixed/guzzlehttp/promises/src/Is.phpline 6, once per PHP process that sends a request through the bundled Guzzle client.
Screenshots, screen recording, code snippet
Suggested fix: composer update guzzlehttp/promises to ^2.6 and rebuild vendor_prefixed. Nothing breaks today; it is a deprecation notice in the log (and on screen where errors are displayed).
Found while running popular plugins on PHP 8.6.0RC4. This report was drafted with help from Claude (Anthropic); the reproduction above was run on PHP 8.6.0RC4 before filing.
Which editor is affected (or editors)
- Block Editor
- Gutenberg Editor
- Elementor Editor
- Classic Editor
- Other (please specify in additional info)
Which browser is affected (or browsers)
- Chrome
- Firefox
- Safari
- Other (please specify in additional info)
Device you are using
Desktop (command line)
Operating system
Windows 11
PHP version
8.6.0RC4
WordPress version
7.1.1
WordPress Theme
Twenty Twenty-Five 1.5
Yoast SEO version
28.8
Gutenberg plugin version (if relevant)
No response
Elementor plugin version (if relevant)
No response
Classic Editor plugin version (if relevant)
No response
Relevant plugins in case of a bug
None (Yoast SEO alone)
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 988
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 66
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Yoast/wordpress-seo
-
[Feature]: Add Crawl Optimization setting to disable WordPress random content redirect (WP 7.2)Openenhancement featurerequest
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Yoast/wordpress-seo#23888 ·
Maintainers usually reply within 4 days
-
[Bug]: languages/pl.js breaks SEO Optimization Tool when object property name appears in analyzed textPossibly taken @MrDezzan claimed this 9 days ago. Openbug Can't reproduce needs-more-info
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Yoast/wordpress-seo#23840 · 1 comment ·
Maintainers usually reply within 4 days
-
bulk editor access check calls current_user_can( edit_post ) without object ID, triggers PHP warnings in BuddyBoss/bbPressPossibly taken @alizamani1616 claimed this 60 days ago. Openbug component: bulk editor support
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Yoast/wordpress-seo#23669 ·
Maintainers usually reply within 4 days
-
Sitemap pagination silently drops pages when `post_modified` is not unique (`ORDER BY post_modified ASC` + OFFSET)Possibly taken @faisalahammad claimed this 49 days ago. Opencomponent: xml sitemap has patch
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Yoast/wordpress-seo#23658 · 3 comments ·
Maintainers usually reply within 4 days
-
bug Can't reproduce needs-more-info
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Yoast/wordpress-seo#23547 · 5 comments ·
Maintainers usually reply within 4 days
All issues in Yoast/wordpress-seo
Similar issues
-
bug repro-ready
Difficulty 1/5 Under an hour Newbie friendliness 84/100
mksglu/context-mode#1435 · 1 comment ·
-
contribution Linux 主机 macOS 主机 Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Lee-xeo/Claude-Cage#1383 ·
Maintainers usually reply within 1 day
-
Correct Ente entryPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
bitwarden/passkeys-index#168 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100