SiteGround Security 1.3.3

Does SiteGround Security work with WordPress 6.0.2 and PHP 7.4.8? 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/sg-security/
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=sg-security%2Fsg-security.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=sg-security%2Fsg-security.php&plugin_status=all&paged=1&s&_wpnonce=c8f8c60389
Aspect after-activation
HTTP status 200
Load time 0.560 s
Memory usage 3.69 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
Language % Lines of code Comment lines Files
PHP99.8%6,5013,74885
JavaScript0.2%1311
SVG0.0%101
Total 6,515 3,749 87

PHP Code Analysis | More results »

Lines of code 5,733
Total complexity 882
Median class complexity 10.0
Median method complexity 2.0
Most complex class SG_Security\Sg_2fa\Sg_2fa
Most complex function SG_Security\Activity_Log\Activity_Log_Posts::log_post_status_transition()
Classes 65
Methods 340
Functions 0

Additions

No data available.

PHP Error Log 9 lines

[10-Oct-2022 11:35:48 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method SG_Security\Sg_2fa\Sg_2fa::get_2fa_user_roles() in /wp-content/plugins/sg-security/core/Install_Service/Install_1_1_0.php:37
Stack trace:
#0 /wp-content/plugins/sg-security/core/Install_Service/Install_Service.php(75): SG_Security\Install_Service\Install_1_1_0->install()
#1 /wp-content/plugins/sg-security/core/Install_Service/Install_Service.php(53): SG_Security\Install_Service\Install_Service->do_install()
#2 /wp-content/plugins/sg-security/core/Activator/Activator.php(58): SG_Security\Install_Service\Install_Service->install()
#3 /wp-includes/class-wp-hook.php(307): SG_Security\Activator\Activator->activate()
#4 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(476): WP_Hook->do_action()
#6 /opt in /wp-content/plugins/sg-security/core/Install_Service/Install_1_1_0.php on line 37
See also: All tests for this plugin, How to Hide Security Optimizer Admin Menus