WPGraphQL 1.14.3

Does WPGraphQL work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
8PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 138.32 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.021 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/wp-graphql/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-graphql%2Fwp-graphql.php&plugin_status=all&paged=1&s&_wpnonce=9f0fe360eb
Aspect after-activation
HTTP status 200
Load time 0.455 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

GraphQL

Page screenshot: GraphQL
URL /wp-admin/admin.php?page=graphiql-ide
Aspect menu-item
HTTP status 200
Load time 0.687 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

GraphQL → Settings

Page screenshot: GraphQL → Settings
URL /wp-admin/admin.php?page=graphql-settings
Aspect menu-item
HTTP status 200
Load time 0.390 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.229 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.249 s-0.034 s3.07 MiB3.21 MiB+ 144.32 KiB
/wp-admin/edit.php0.178 s0.332 s+0.154 s3.1 MiB3.24 MiB+ 146.56 KiB
/wp-admin/post-new.php0.753 s1.050 s+0.297 s5.02 MiB5.16 MiB+ 147.89 KiB
/wp-admin/upload.php0.542 s0.464 s-0.078 s3.02 MiB3.14 MiB+ 126.57 KiB
/wp-admin/options-writing.php0.169 s0.139 s-0.030 s3.01 MiB3.12 MiB+ 114 KiB
/wp-admin/media-new.php0.291 s0.243 s-0.048 s2.99 MiB3.13 MiB+ 138.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.178 s-0.018 s3.01 MiB3.14 MiB+ 142.53 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.574 s-0.012 s5.01 MiB5.15 MiB+ 142.74 KiB
/wp-admin/options-discussion.php0.206 s0.249 s+0.043 s3 MiB3.12 MiB+ 127 KiB
/wp-admin/edit-comments.php0.226 s0.242 s+0.016 s3.03 MiB3.15 MiB+ 124.47 KiB
/0.305 s0.244 s-0.061 s2.97 MiB3.13 MiB+ 166.65 KiB
Average 0.340 s0.360 s+0.021 s3.38 MiB3.52 MiB+ 138.32 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP92.1%19,06012,373217
CSS7.1%1,474404
JavaScript0.5%9607
XML0.3%53261
YAML0.0%501
JSON0.0%101
Total 20,689 12,439 231

PHP Code Analysis | More results »

Lines of code 19,072
Total complexity 3,543
Median class complexity 8.0
Median method complexity 2.0
Most complex class WPGraphQL\Model\Post
Most complex function WPGraphQL\Model\Post::init()
Classes 207
Methods 812
Functions 44

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 2

PHP Error Log 8 lines

[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Type\Definition\Type::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Type/Definition/Type.php on line 311
[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Language\SourceLocation::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Language/SourceLocation.php on line 49
[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Language\AST\NodeList::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Language/AST/NodeList.php on line 72
[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Utils\MixedStore::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 93
[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Utils\MixedStore::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 138
[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Utils\MixedStore::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 187
[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Utils\MixedStore::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 223
[20-May-2023 19:17:41 UTC] PHP Deprecated:  Return type of GraphQL\Executor\ExecutionResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Executor/ExecutionResult.php on line 118
See also: All tests for this plugin, How to Hide WPGraphQL Admin Menus