ElasticPress 4.4.0

Does ElasticPress work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/elasticpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 11

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=elasticpress%2Felasticpress.php&plugin_status=all&paged=1&s&_wpnonce=8f6f779d4a
Aspect after-activation
HTTP status 200
Load time 0.323 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

ElasticPress

Page screenshot: ElasticPress
URL /wp-admin/admin.php?page=elasticpress
Aspect menu-item
HTTP status 200
Load time 0.313 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

ElasticPress → Settings

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

ElasticPress → Sync

Page screenshot: ElasticPress → Sync
URL /wp-admin/admin.php?page=elasticpress-sync
Aspect menu-item
HTTP status 200
Load time 0.155 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

ElasticPress → Index Health

Page screenshot: ElasticPress → Index Health
URL /wp-admin/admin.php?page=elasticpress-health
Aspect menu-item
HTTP status 200
Load time 0.187 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

ElasticPress → Status Report

Page screenshot: ElasticPress → Status Report
URL /wp-admin/admin.php?page=elasticpress-status-report
Aspect menu-item
HTTP status 200
Load time 0.186 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

ElasticPress → Search Fields & Weighting

Page screenshot: ElasticPress → Search Fields & Weighting
URL /wp-admin/admin.php?page=elasticpress-weighting
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

ElasticPress → Synonyms

Page screenshot: ElasticPress → Synonyms
URL /wp-admin/admin.php?page=elasticpress-synonyms
Aspect menu-item
HTTP status 200
Load time 0.518 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

ElasticPress → Custom Results

Page screenshot: ElasticPress → Custom Results
URL /wp-admin/edit.php?post_type=ep-pointer
Aspect menu-item
HTTP status 200
Load time 0.181 s
Memory usage 3.34 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.235 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.393 s
Memory usage 5.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.277 s0.253 s-0.024 s3.05 MiB3.35 MiB+ 308.06 KiB
/wp-admin/edit.php0.178 s0.183 s+0.005 s3.07 MiB3.44 MiB+ 376.5 KiB
/wp-admin/post-new.php0.758 s0.870 s+0.112 s4.97 MiB5.23 MiB+ 269.39 KiB
/wp-admin/upload.php0.546 s0.486 s-0.060 s2.99 MiB3.27 MiB+ 287.9 KiB
/wp-admin/options-writing.php0.176 s0.181 s+0.005 s2.99 MiB3.28 MiB+ 297.01 KiB
/wp-admin/media-new.php0.272 s0.241 s-0.031 s2.97 MiB3.26 MiB+ 301.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.239 s0.195 s-0.044 s2.98 MiB3.3 MiB+ 325.64 KiB
/wp-admin/post-new.php?post_type=page0.661 s0.675 s+0.014 s4.96 MiB5.23 MiB+ 272.89 KiB
/wp-admin/options-discussion.php0.203 s0.207 s+0.004 s2.97 MiB3.28 MiB+ 311.2 KiB
/wp-admin/edit-comments.php0.206 s0.217 s+0.011 s3 MiB3.3 MiB+ 309.62 KiB
/0.277 s0.228 s-0.049 s2.94 MiB3.3 MiB+ 366.77 KiB
Average 0.345 s0.340 s-0.005 s3.35 MiB3.66 MiB+ 311.48 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
JavaScript
Language % Lines of code Comment lines Files
PHP75.8%21,74113,21298
JavaScript16.9%4,8552,41893
CSS6.8%1,9453037
JSON0.4%11004
SVG0.1%3004
Total 28,681 15,660 236

PHP Code Analysis | More results »

Lines of code 17,664
Total complexity 3,724
Median class complexity 29.0
Median method complexity 2.0
Most complex class ElasticPress\Indexable\Post\Post
Most complex function ElasticPress\Indexable\Comment\Comment::format_args()
Classes 73
Methods 840
Functions 52

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 5

Custom Post Types 2

ID Name
ep-synonymPosts
ep-pointerCustom Search Results

Sidebar Widgets 2

ID Name
ep-facetElasticPress - Facet
ep-related-postsElasticPress - Related Posts

PHP Error Log 2 lines

[29-Nov-2022 18:38:35 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /wp-content/plugins/elasticpress/includes/classes/Elasticsearch.php on line 287
[29-Nov-2022 18:38:43 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /wp-content/plugins/elasticpress/includes/classes/Elasticsearch.php on line 287
See also: All tests for this plugin, How to Hide ElasticPress Admin Menus