Home
Security Optimizer – The All-In-One Protection Plugin
1.3.3
Does SiteGround Security work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on 2022-10-10 11:35:30 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.0.2 PHP version 7.4.8 MySQL version 8.0.21 PHP memory limit 256M
Pages 1 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.
Language
%
Lines of code
Comment lines
Files
PHP 99.8% 6,501 3,748 85 JavaScript 0.2% 13 1 1 SVG 0.0% 1 0 1
Total
6,515
3,749
87
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