OneSignal Push Notifications 3.6.2

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

Summary

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

Memory usage: 14.5 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=ea0f6a0db7
Aspect after-activation
HTTP status 200
Load time 0.436 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.333 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.507 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 0.935 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.php0.552 s0.410 s-0.142 s3.78 MiB3.79 MiB+ 15.87 KiB
/wp-admin/edit.php0.380 s0.343 s-0.037 s3.78 MiB3.8 MiB+ 14.93 KiB
/wp-admin/post-new.php0.874 s1.206 s+0.332 s6.31 MiB6.36 MiB+ 53.14 KiB
/wp-admin/upload.php0.522 s0.475 s-0.047 s3.74 MiB3.74 MiB- 2.48 KiB
/wp-admin/options-writing.php0.383 s0.344 s-0.039 s3.71 MiB3.71 MiB+ 1.82 KiB
/wp-admin/media-new.php0.543 s0.359 s-0.184 s3.7 MiB3.71 MiB+ 10.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.359 s0.295 s-0.064 s3.72 MiB3.74 MiB+ 20.38 KiB
/wp-admin/post-new.php?post_type=page0.753 s0.707 s-0.046 s6.3 MiB6.33 MiB+ 37.46 KiB
/wp-admin/options-discussion.php0.350 s0.364 s+0.014 s3.71 MiB3.71 MiB- 1.98 KiB
/wp-admin/edit-comments.php0.351 s0.330 s-0.021 s3.73 MiB3.73 MiB- 1.48 KiB
/0.333 s0.239 s-0.094 s4.12 MiB4.13 MiB+ 11.86 KiB
Average 0.491 s0.461 s-0.030 s4.24 MiB4.25 MiB+ 14.5 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.9%2,87733715
CSS21.2%1,1115038
JavaScript12.3%647966
SVG11.2%58503
HTML0.4%2035
Total 5,240 939 37

PHP Code Analysis | More results »

Lines of code 2,295
Total complexity 506
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 34

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 14 lines

[03-Dec-2025 01:14:25 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 01:14:25 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 01:14:25 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
[03-Dec-2025 01:14:27 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
[03-Dec-2025 01:14:27 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 39
[03-Dec-2025 01:14:27 UTC] Unexpected API response: Missing or invalid key
[03-Dec-2025 01:14:27 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 109
[03-Dec-2025 01:14:35 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 01:14:35 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 01:14:35 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
[03-Dec-2025 01:14:36 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
[03-Dec-2025 01:14:36 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 39
[03-Dec-2025 01:14:36 UTC] Unexpected API response: Missing or invalid key
[03-Dec-2025 01:14:36 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 109
See also: All tests for this plugin, How to Hide OneSignal Push Notifications Admin Menus and Meta Boxes