Social Warfare 4.4.7.1

Does Social Warfare work with WordPress 6.5.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
26PHP warnings
1PHP notices
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 627.96 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.285 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/social-warfare/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=social-warfare%2Fsocial-warfare.php&plugin_status=all&paged=1&s&_wpnonce=08dd578ad8
Aspect after-activation
HTTP status 200
Load time 2.327 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

Social Warfare

Page screenshot: Social Warfare
URL /wp-admin/admin.php?page=social-warfare
Aspect menu-item
HTTP status 200
Load time 0.484 s
Memory usage 4.41 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 7.339 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 3.378 s
Memory usage 6.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.365 s0.863 s+0.498 s3.44 MiB4.05 MiB+ 626.43 KiB
/wp-admin/edit.php0.208 s0.235 s+0.027 s3.46 MiB4.14 MiB+ 691.02 KiB
/wp-admin/post-new.php0.944 s0.671 s-0.273 s5.59 MiB6.29 MiB+ 721.01 KiB
/wp-admin/upload.php0.533 s0.413 s-0.120 s3.38 MiB3.98 MiB+ 611.69 KiB
/wp-admin/options-writing.php0.229 s0.210 s-0.019 s3.37 MiB3.94 MiB+ 583.28 KiB
/wp-admin/media-new.php0.304 s0.223 s-0.081 s3.35 MiB3.94 MiB+ 603.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.206 s+0.015 s3.37 MiB3.98 MiB+ 628.37 KiB
/wp-admin/post-new.php?post_type=page0.595 s0.645 s+0.050 s5.59 MiB6.29 MiB+ 716.63 KiB
/wp-admin/options-discussion.php0.473 s0.408 s-0.065 s3.36 MiB3.96 MiB+ 612.95 KiB
/wp-admin/edit-comments.php0.247 s0.238 s-0.009 s3.39 MiB3.99 MiB+ 609.93 KiB
/0.304 s3.415 s+3.111 s3.42 MiB3.91 MiB+ 502.8 KiB
Average 0.399 s0.684 s+0.285 s3.79 MiB4.41 MiB+ 627.96 KiB

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
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP37.9%6,9818,35564
CSS30.4%5,6029710
Sass17.0%3,1356519
JavaScript12.7%2,3421,22510
JSON1.1%20502
Markdown0.5%9502
SVG0.4%6711
Total 18,427 9,743 108

PHP Code Analysis | More results »

Lines of code 7,008
Total complexity 1,474
Median class complexity 15.0
Median method complexity 2.0
Most complex class SWP_Post_Cache
Most complex function SWP_Permalink::get_alt_permalink()
Classes 62
Methods 422
Functions 23

Additions

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.

Options wp_options 6

Sidebar Widgets 1

ID Name
swp_popular_posts_widgetSocial Warfare: Popular Posts

PHP Error Log 31 lines

[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/wordpress): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/mysql): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/performance_schema): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/sys): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/test): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/lib/plugin/auth_pam_tool_dir): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/plugin/auth_pam_tool_dir): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(/opt/bitnami/var/data): Failed to open directory: Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/social-warfare/social-warfare.php on line 575
[22-Jun-2024 13:55:39 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/social-warfare/social-warfare.php on line 576
[22-Jun-2024 13:55:39 UTC] PHP Warning:  Undefined variable $password in /wp-content/plugins/social-warfare/social-warfare.php on line 96
[22-Jun-2024 13:55:39 UTC] PHP Warning:  mysqli::__construct(): (HY000/1045): Access denied for user 'username_here'@'localhost' (using password: NO) in /wp-content/plugins/social-warfare/social-warfare.php on line 106
[22-Jun-2024 13:55:53 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6078
[22-Jun-2024 13:55:53 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6078
[22-Jun-2024 13:55:58 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6078
[22-Jun-2024 13:55:58 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6078
[22-Jun-2024 13:56:06 UTC] PHP Notice:  Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6078
See also: All tests for this plugin, How to Hide the "Social Warfare" Admin Menu