Does OneSignal Push Notifications work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .
4 | PHP fatal errors |
6 | PHP warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 2.81 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 | 90,000+ |
WordPress.org page | https://wordpress.org/plugins/onesignal-free-web-push-notifications/ |
Badges |
Get badge code |
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=d697d7ae7c |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.254 s |
Memory usage | 3.5 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=onesignal-admin-page.php |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.281 s |
Memory usage | 3.47 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.142 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.292 s | 0.272 s | -0.020 s | 3.48 MiB | 3.49 MiB | + 10.85 KiB |
/wp-admin/edit.php | 0.211 s | 0.184 s | -0.027 s | 3.54 MiB | 3.55 MiB | + 10.85 KiB |
/wp-admin/post-new.php | 0.735 s | 0.429 s | -0.306 s | 5.92 MiB | ||
/wp-admin/upload.php | 0.513 s | 0.273 s | -0.240 s | 3.5 MiB | 3.49 MiB | - 6.46 KiB |
/wp-admin/options-writing.php | 0.201 s | 0.179 s | -0.022 s | 3.47 MiB | 3.47 MiB | - 2.47 KiB |
/wp-admin/media-new.php | 0.250 s | 0.229 s | -0.021 s | 3.46 MiB | 3.47 MiB | + 5.73 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.169 s | 0.190 s | +0.021 s | 3.48 MiB | 3.49 MiB | + 16.4 KiB |
/wp-admin/post-new.php?post_type=page | 0.508 s | 0.460 s | -0.048 s | 5.92 MiB | ||
/wp-admin/options-discussion.php | 0.292 s | 0.264 s | -0.028 s | 3.47 MiB | 3.47 MiB | - 5.97 KiB |
/wp-admin/edit-comments.php | 0.209 s | 0.235 s | +0.026 s | 3.49 MiB | 3.49 MiB | - 6.47 KiB |
/ | 0.285 s | 0.131 s | -0.154 s | 3.42 MiB | ||
Average | 0.333 s | 0.259 s | -0.074 s | 3.92 MiB | 3.49 MiB | + 2.81 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 | 52.0% | 2,442 | 271 | 15 | |
CSS | 23.6% | 1,109 | 503 | 8 | |
SVG | 12.5% | 585 | 0 | 3 | |
JavaScript | 11.5% | 540 | 80 | 6 | |
HTML | 0.4% | 20 | 3 | 5 | |
Total | 4,696 | 857 | 37 |
Lines of code | 1,853 |
---|---|
Total complexity | 397 |
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[21-Dec-2024 01:52:59 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-init.php:11
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): onesignal_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3064): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
thrown in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-init.php on line 11
[21-Dec-2024 01:53:01 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
[21-Dec-2024 01:53:01 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
[21-Dec-2024 01:53:01 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
[21-Dec-2024 01:53:01 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
[21-Dec-2024 01:53:02 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
[21-Dec-2024 01:53:02 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
[21-Dec-2024 01:53:03 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
[21-Dec-2024 01:53:03 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
[21-Dec-2024 01:53:03 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-init.php:11
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): onesignal_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3064): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
thrown in /wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-init.php on line 11