OneSignal Push Notifications 3.7.1

Does OneSignal Push Notifications work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
9PHP warnings
2Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 14.31 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.9
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70,000+
WordPress.org page https://wordpress.org/plugins/onesignal-free-web-push-notifications/
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=onesignal-free-web-push-notifications%2Fonesignal.php&plugin_status=all&paged=1&s&_wpnonce=f78d1bec27
Aspect after-activation
HTTP status 200
Load time 0.366 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

OneSignal

Page screenshot: OneSignal
URL /wp-admin/admin.php?page=onesignal-admin-page.php
Aspect menu-item
HTTP status 200
Load time 0.389 s
Memory usage 3.71 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.449 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

Page screenshot: Add Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.266 s
Memory usage 6.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.000 s0.500 s-0.500 s3.78 MiB3.79 MiB+ 15.89 KiB
/wp-admin/edit.php0.498 s0.367 s-0.131 s3.78 MiB3.8 MiB+ 14.95 KiB
/wp-admin/post-new.php1.068 s1.828 s+0.760 s6.31 MiB6.36 MiB+ 53.16 KiB
/wp-admin/upload.php0.538 s0.701 s+0.163 s3.74 MiB3.74 MiB- 2.45 KiB
/wp-admin/options-writing.php0.331 s0.324 s-0.007 s3.71 MiB3.71 MiB+ 1.85 KiB
/wp-admin/media-new.php0.519 s0.371 s-0.148 s3.7 MiB3.71 MiB+ 10.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.411 s0.313 s-0.098 s3.72 MiB3.74 MiB+ 20.41 KiB
/wp-admin/post-new.php?post_type=page1.028 s0.768 s-0.260 s6.3 MiB6.33 MiB+ 37.48 KiB
/wp-admin/options-discussion.php0.855 s0.515 s-0.340 s3.71 MiB3.71 MiB- 1.96 KiB
/wp-admin/edit-comments.php0.456 s0.412 s-0.044 s3.73 MiB3.73 MiB- 2.15 KiB
/0.350 s0.289 s-0.061 s4.12 MiB4.13 MiB+ 10.15 KiB
Average 0.641 s0.581 s-0.061 s4.24 MiB4.25 MiB+ 14.31 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
CSS
JavaScript
SVG
Language % Lines of code Comment lines Files
PHP54.8%2,86633915
CSS21.2%1,1115038
JavaScript12.4%647966
SVG11.2%58503
HTML0.4%2035
Total 5,229 941 37

PHP Code Analysis | More results »

Lines of code 2,284
Total complexity 497
Median class complexity 31.0
Median method complexity 2.0
Most complex class OneSignal_Admin
Most complex function OneSignal_Public::onesignal_header()
Classes 5
Methods 46
Functions 35

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 1

Meta Boxes

{
    "post": {
        "onesignal_metabox": {
            "title": "OneSignal Push Notifications",
            "context": "advanced"
        }
    }
}

PHP Error Log 11 lines

[30-Dec-2025 00:22:51 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-init.php on line 20
[30-Dec-2025 00:22:53 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 32
[30-Dec-2025 00:22:53 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 40
[30-Dec-2025 00:22:54 UTC] Unexpected API response: Missing or invalid key
[30-Dec-2025 00:22:54 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 110
[30-Dec-2025 00:23:02 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-init.php on line 20
[30-Dec-2025 00:23:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 32
[30-Dec-2025 00:23:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 40
[30-Dec-2025 00:23:04 UTC] Unexpected API response: Missing or invalid key
[30-Dec-2025 00:23:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 110
[30-Dec-2025 00:23:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-init.php on line 20
See also: All tests for this plugin, How to Hide OneSignal Push Notifications Admin Menus and Meta Boxes