OneSignal Push Notifications 3.8.1

Does OneSignal Push Notifications work with WordPress 7.0 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: 14.53 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 version7.0
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=b6e3d8951d
Aspect after-activation
HTTP status 200
Load time 0.556 s
Memory usage 3.91 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.528 s
Memory usage 3.86 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.447 s
Memory usage 4.24 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 2.145 s
Memory usage 6.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.337 s0.862 s-0.475 s3.92 MiB3.94 MiB+ 16.03 KiB
/wp-admin/edit.php0.622 s0.543 s-0.079 s3.98 MiB4 MiB+ 15.41 KiB
/wp-admin/post-new.php2.308 s2.518 s+0.210 s6.56 MiB6.61 MiB+ 55.68 KiB
/wp-admin/upload.php0.826 s0.959 s+0.133 s3.89 MiB3.89 MiB- 1.69 KiB
/wp-admin/options-writing.php0.963 s0.509 s-0.454 s3.86 MiB3.86 MiB+ 2.3 KiB
/wp-admin/media-new.php0.731 s0.506 s-0.225 s3.85 MiB3.86 MiB+ 10.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.506 s0.948 s+0.442 s3.86 MiB3.88 MiB+ 15.36 KiB
/wp-admin/post-new.php?post_type=page2.116 s1.640 s-0.476 s6.55 MiB6.58 MiB+ 38.09 KiB
/wp-admin/options-discussion.php0.656 s1.290 s+0.634 s3.86 MiB3.86 MiB- 1.51 KiB
/wp-admin/edit-comments.php0.708 s0.653 s-0.055 s3.88 MiB3.88 MiB- 1.7 KiB
/0.302 s0.272 s-0.030 s4.23 MiB4.24 MiB+ 11.34 KiB
Average 1.007 s0.973 s-0.034 s4.4 MiB4.42 MiB+ 14.53 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,87934415
CSS21.2%1,1115038
JavaScript12.4%648966
SVG11.2%58503
HTML0.4%2035
Total 5,243 946 37

PHP Code Analysis | More results »

Lines of code 2,297
Total complexity 502
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 36

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

[21-May-2026 00:58:50 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 43
[21-May-2026 00:58: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
[21-May-2026 00:58: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
[21-May-2026 00:58:53 UTC] Unexpected API response: Missing or invalid key
[21-May-2026 00:58: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 110
[21-May-2026 00:59: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 43
[21-May-2026 00:59:07 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
[21-May-2026 00:59:07 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
[21-May-2026 00:59:07 UTC] Unexpected API response: Missing or invalid key
[21-May-2026 00:59:07 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
See also: All tests for this plugin, How to Hide OneSignal Push Notifications Admin Menus and Meta Boxes