OneSignal Push Notifications 3.9.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: 15.69 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 60,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=700cbc6686
Aspect after-activation
HTTP status 200
Load time 1.583 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.536 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.375 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.093 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.php0.787 s0.606 s-0.181 s3.93 MiB3.94 MiB+ 17.77 KiB
/wp-admin/edit.php0.582 s0.513 s-0.069 s3.98 MiB4 MiB+ 17.18 KiB
/wp-admin/post-new.php2.109 s1.675 s-0.434 s6.56 MiB6.61 MiB+ 58.45 KiB
/wp-admin/upload.php0.700 s1.372 s+0.672 s3.89 MiB3.89 MiB+ 56 bytes
/wp-admin/options-writing.php0.541 s0.533 s-0.008 s3.86 MiB3.87 MiB+ 4.05 KiB
/wp-admin/media-new.php0.991 s0.558 s-0.433 s3.85 MiB3.86 MiB+ 12.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.543 s0.495 s-0.048 s3.86 MiB3.88 MiB+ 17.1 KiB
/wp-admin/post-new.php?post_type=page1.478 s1.853 s+0.375 s6.56 MiB6.59 MiB+ 29.13 KiB
/wp-admin/options-discussion.php0.616 s0.936 s+0.320 s3.86 MiB3.86 MiB+ 240 bytes
/wp-admin/edit-comments.php0.563 s0.543 s-0.020 s3.89 MiB3.89 MiB+ 48 bytes
/0.315 s0.277 s-0.038 s4.23 MiB4.24 MiB+ 16.33 KiB
Average 0.839 s0.851 s+0.012 s4.41 MiB4.42 MiB+ 15.69 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
PHP55.1%3,01737915
CSS20.3%1,1115038
JavaScript13.6%745987
SVG10.7%58503
HTML0.4%2035
Total 5,478 983 38

PHP Code Analysis | More results »

Lines of code 2,435
Total complexity 532
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 41

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

[24-Jun-2026 20:44: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-init.php on line 43
[24-Jun-2026 20:44:28 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
[24-Jun-2026 20:44:28 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
[24-Jun-2026 20:44:28 UTC] Unexpected API response: Missing or invalid key
[24-Jun-2026 20:44:28 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
[24-Jun-2026 20:44:40 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
[24-Jun-2026 20:44:41 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
[24-Jun-2026 20:44:41 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
[24-Jun-2026 20:44:41 UTC] Unexpected API response: Missing or invalid key
[24-Jun-2026 20:44:41 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