OneSignal Push Notifications 3.4.0

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

Summary

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

Memory usage: 2.89 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80,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=9d791dccc1
Aspect after-activation
HTTP status 200
Load time 0.475 s
Memory usage 3.53 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.299 s
Memory usage 3.5 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.422 s
Memory usage 3.44 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.300 s
Memory usage 6.08 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.486 s0.295 s-0.191 s3.51 MiB3.52 MiB+ 13.76 KiB
/wp-admin/edit.php0.219 s0.198 s-0.021 s3.57 MiB3.58 MiB+ 13.76 KiB
/wp-admin/post-new.php0.899 s1.527 s+0.628 s6.06 MiB6.08 MiB+ 23.55 KiB
/wp-admin/upload.php0.884 s0.377 s-0.507 s3.52 MiB3.52 MiB- 3.65 KiB
/wp-admin/options-writing.php0.205 s0.211 s+0.006 s3.5 MiB3.5 MiB+ 352 bytes
/wp-admin/media-new.php0.253 s0.317 s+0.064 s3.49 MiB3.5 MiB+ 8.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.303 s+0.113 s3.5 MiB3.52 MiB+ 19.21 KiB
/wp-admin/post-new.php?post_type=page1.098 s0.778 s-0.320 s6.05 MiB6.07 MiB+ 19.09 KiB
/wp-admin/options-discussion.php0.427 s0.265 s-0.162 s3.5 MiB3.5 MiB- 3.16 KiB
/wp-admin/edit-comments.php0.248 s0.214 s-0.034 s3.52 MiB3.52 MiB- 3.66 KiB
/0.301 s0.270 s-0.031 s3.5 MiB3.44 MiB- 55.95 KiB
Average 0.474 s0.432 s-0.041 s3.98 MiB3.98 MiB+ 2.89 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
PHP53.8%2,75031215
CSS21.7%1,1115038
JavaScript12.7%647966
SVG11.4%58503
HTML0.4%2035
Total 5,113 914 37

PHP Code Analysis | More results »

Lines of code 2,168
Total complexity 447
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 31

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

[10-Sep-2025 21:06:46 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
[10-Sep-2025 21:06:48 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
[10-Sep-2025 21:06:48 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
[10-Sep-2025 21:06:48 UTC] Unexpected API response: Missing or invalid key
[10-Sep-2025 21:06:48 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 107
[10-Sep-2025 21:06:55 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
[10-Sep-2025 21:06:56 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
[10-Sep-2025 21:06:56 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
[10-Sep-2025 21:06:56 UTC] Unexpected API response: Missing or invalid key
[10-Sep-2025 21:06:56 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 107
See also: All tests for this plugin, How to Hide OneSignal Push Notifications Admin Menus and Meta Boxes