Does OneSignal Push Notifications work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .
| 2 | PHP fatal errors |
| 8 | PHP warnings |
| 3 | JavaScript exceptions |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: -3.48 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.
| WordPress version | 6.7.1 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | 70,000+ |
| WordPress.org page | https://wordpress.org/plugins/onesignal-free-web-push-notifications/ |
| Badges |
|
| 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=b541681797 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.325 s |
| Memory usage | 3.5 MiB |
| JS errors | |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=onesignal-admin-page.php |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.318 s |
| Memory usage | 3.47 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.324 s |
| Memory usage | 3.42 MiB |
| JS errors | |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.460 s | 0.395 s | -0.065 s | 3.48 MiB | 3.49 MiB | + 11.41 KiB |
| /wp-admin/edit.php | 0.220 s | 0.216 s | -0.004 s | 3.54 MiB | 3.55 MiB | + 11.41 KiB |
| /wp-admin/post-new.php | 1.324 s | 0.472 s | -0.852 s | 5.92 MiB | ||
| /wp-admin/upload.php | 0.638 s | 0.326 s | -0.312 s | 3.49 MiB | 3.49 MiB | - 5.91 KiB |
| /wp-admin/options-writing.php | 0.233 s | 0.203 s | -0.030 s | 3.47 MiB | 3.47 MiB | - 1.91 KiB |
| /wp-admin/media-new.php | 0.283 s | 0.413 s | +0.130 s | 3.46 MiB | 3.47 MiB | + 6.28 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.239 s | 0.304 s | +0.065 s | 3.48 MiB | 3.49 MiB | + 16.95 KiB |
| /wp-admin/post-new.php?post_type=page | 0.826 s | 0.482 s | -0.344 s | 5.92 MiB | ||
| /wp-admin/options-discussion.php | 0.289 s | 0.243 s | -0.046 s | 3.47 MiB | 3.47 MiB | - 5.41 KiB |
| /wp-admin/edit-comments.php | 0.440 s | 0.278 s | -0.162 s | 3.49 MiB | 3.49 MiB | - 5.91 KiB |
| / | 0.349 s | 0.316 s | -0.033 s | 3.47 MiB | 3.42 MiB | - 58.24 KiB |
| Average | 0.482 s | 0.332 s | -0.150 s | 3.93 MiB | 3.48 MiB | - 3.48 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 51.9% | 2,423 | 267 | 15 | |
| CSS | 23.8% | 1,109 | 503 | 8 | |
| SVG | 12.5% | 585 | 0 | 3 | |
| JavaScript | 11.4% | 532 | 80 | 6 | |
| HTML | 0.4% | 20 | 3 | 5 | |
| Total | 4,669 | 853 | 37 | ||
| Lines of code | 1,830 |
|---|---|
| Total complexity | 394 |
| 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 | 21 |
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.
wp_options 1[20-Dec-2024 22:30: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-init.php on line 17
[20-Dec-2024 22:30: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-metabox/onesignal-metabox.php on line 23
[20-Dec-2024 22:30: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-metabox/onesignal-metabox.php on line 30
[20-Dec-2024 22:30:50 UTC] PHP Warning: Undefined property: stdClass::$segments in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 45
[20-Dec-2024 22:30:50 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php:45
Stack trace:
#0 /wp-admin/includes/template.php(1456): onesignal_metabox()
#1 /wp-admin/includes/post.php(2383): do_meta_boxes()
#2 /wp-admin/edit-form-blocks.php(346): the_block_editor_meta_boxes()
#3 /wp-admin/post-new.php(72): require('...')
#4 {main}
thrown in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 45
[20-Dec-2024 22:30:52 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 23
[20-Dec-2024 22:30:52 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 30
[20-Dec-2024 22:30:52 UTC] PHP Warning: Undefined property: stdClass::$segments in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 45
[20-Dec-2024 22:30:52 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php:45
Stack trace:
#0 /wp-admin/includes/template.php(1456): onesignal_metabox()
#1 /wp-admin/includes/post.php(2383): do_meta_boxes()
#2 /wp-admin/edit-form-blocks.php(346): the_block_editor_meta_boxes()
#3 /wp-admin/post-new.php(72): require('...')
#4 {main}
thrown in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-metabox/onesignal-metabox.php on line 45
[20-Dec-2024 22:30: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-init.php on line 17