OneSignal Push Notifications 3.0.0

Does OneSignal Push Notifications work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
1PHP warnings
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/onesignal-free-web-push-notifications/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=onesignal-free-web-push-notifications%2Fonesignal.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=onesignal-free-web-push-notifications%2Fonesignal.php&plugin_status=all&paged=1&s&_wpnonce=286ab7c41b
Aspect after-activation
HTTP status 200
Load time 0.233 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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
SVG
JavaScript
Language % Lines of code Comment lines Files
PHP53.9%2,2292289
CSS20.7%8585006
SVG13.7%56602
JavaScript11.3%466795
HTML0.5%2035
Total 4,139 810 27

PHP Code Analysis | More results »

Lines of code 2,858
Total complexity 650
Median class complexity 31.0
Median method complexity 2.0
Most complex class OneSignal_Admin
Most complex function OneSignal_Public::onesignal_header()
Classes 10
Methods 92
Functions 16

Additions

No data available.

PHP Error Log 8 lines

[20-Dec-2024 03:23:20 UTC] PHP Warning:  require_once(/wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-admin/onesignal-admin.php): Failed to open stream: No such file or directory in /wp-content/plugins/onesignal-free-web-push-notifications/onesignal.php on line 35
[20-Dec-2024 03:23:20 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/wp-content/plugins/onesignal-free-web-push-notifications/v3/onesignal-admin/onesignal-admin.php' (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/onesignal-free-web-push-notifications/onesignal.php:35
Stack trace:
#0 /wp-admin/includes/plugin.php(2387): include_once()
#1 /wp-admin/includes/plugin.php(673): plugin_sandbox_scrape()
#2 /wp-admin/plugins.php(60): activate_plugin()
#3 {main}
  thrown in /wp-content/plugins/onesignal-free-web-push-notifications/onesignal.php on line 35
See also: All tests for this plugin, How to Hide OneSignal Push Notifications Admin Menus and Meta Boxes