NativeAlerts Push Notifications 1.2

Does "Native Alerts Push Notifications" work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/native-alerts-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=native-alerts-push-notifications%2Fnativealerts-push.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=native-alerts-push-notifications%2Fnativealerts-push.php&plugin_status=all&paged=1&s&_wpnonce=de9cf46586
Aspect after-activation
HTTP status 200
Load time 0.268 s
Memory usage 3.37 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
Language % Lines of code Comment lines Files
PHP88.0%1,02221516
CSS12.0%14002
Total 1,162 215 18

PHP Code Analysis | More results »

Lines of code 470
Total complexity 73
Median class complexity 36.5
Median method complexity 1.0
Most complex class NativeAlertsPush
Most complex function NativeAlertsPush::setNativeAlertsOptions()
Classes 2
Methods 41
Functions 0

Additions

No data available.

PHP Error Log 7 lines

[21-Apr-2024 03:35:19 UTC] PHP Fatal error:  Uncaught Error: Non-static method NativeAlertsPush::getInstance() cannot be called statically in /wp-content/plugins/native-alerts-push-notifications/nativealerts-push.php:659
Stack trace:
#0 /wp-admin/includes/plugin.php(2389): include_once()
#1 /wp-admin/includes/plugin.php(675): plugin_sandbox_scrape()
#2 /wp-admin/plugins.php(60): activate_plugin()
#3 {main}
  thrown in /wp-content/plugins/native-alerts-push-notifications/nativealerts-push.php on line 659
See also: All tests for this plugin