OneSignal Push Notifications 3.3.1

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: 8.33 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=749e9fbff5
Aspect after-activation
HTTP status 200
Load time 0.289 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.306 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.424 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 0.949 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.400 s0.312 s-0.088 s3.51 MiB3.52 MiB+ 13.09 KiB
/wp-admin/edit.php0.204 s0.221 s+0.017 s3.57 MiB3.58 MiB+ 13.09 KiB
/wp-admin/post-new.php0.833 s0.912 s+0.079 s6.06 MiB6.08 MiB+ 22.88 KiB
/wp-admin/upload.php0.752 s0.572 s-0.180 s3.52 MiB3.52 MiB- 4.33 KiB
/wp-admin/options-writing.php0.239 s0.217 s-0.022 s3.5 MiB3.5 MiB- 344 bytes
/wp-admin/media-new.php0.298 s0.271 s-0.027 s3.49 MiB3.5 MiB+ 7.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.203 s+0.003 s3.5 MiB3.52 MiB+ 18.53 KiB
/wp-admin/post-new.php?post_type=page0.760 s0.652 s-0.108 s6.05 MiB6.07 MiB+ 18.41 KiB
/wp-admin/options-discussion.php0.474 s0.424 s-0.050 s3.5 MiB3.5 MiB- 3.84 KiB
/wp-admin/edit-comments.php0.246 s0.211 s-0.035 s3.52 MiB3.52 MiB- 4.34 KiB
/0.327 s0.240 s-0.087 s3.43 MiB3.44 MiB+ 10.57 KiB
Average 0.430 s0.385 s-0.045 s3.97 MiB3.98 MiB+ 8.33 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.7%2,72231015
CSS21.9%1,1115038
JavaScript12.5%635966
SVG11.5%58503
HTML0.4%2035
Total 5,073 912 37

PHP Code Analysis | More results »

Lines of code 2,138
Total complexity 443
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

[09-Sep-2025 18:01:24 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
[09-Sep-2025 18:01: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-metabox/onesignal-metabox.php on line 32
[09-Sep-2025 18:01: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-metabox/onesignal-metabox.php on line 39
[09-Sep-2025 18:01:26 UTC] Unexpected API response: Missing or invalid key
[09-Sep-2025 18:01:26 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 103
[09-Sep-2025 18:01:32 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
[09-Sep-2025 18:01:33 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
[09-Sep-2025 18:01:33 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
[09-Sep-2025 18:01:33 UTC] Unexpected API response: Missing or invalid key
[09-Sep-2025 18:01:33 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 103
See also: All tests for this plugin, How to Hide OneSignal Push Notifications Admin Menus and Meta Boxes