WP Facebook Comment Ranking 1.0

Does WP Facebook Comment Ranking work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
14PHP fatal errors
3PHP warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.1
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/wp-facebook-comment-ranking/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-facebook-comment-ranking%2Fwp-fb-comment-ranking.php&plugin_status=all&paged=1&s&_wpnonce=db9d9d78fe
Aspect after-activation
HTTP status 500
Load time 0.220 s
Memory usage N/A
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 0.163 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/0.293 s0.164 s-0.129 s3.43 MiB3.44 MiB+ 8.8 KiB
Average 0.293 s0.164 s-0.129 s3.43 MiB3.44 MiB+ 8.8 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
Language % Lines of code Comment lines Files
PHP100.0%145262
Total 145 26 2

PHP Code Analysis | More results »

Lines of code 113
Total complexity 26
Median class complexity 15.0
Median method complexity 3.0
Most complex class WpCommentRanking
Most complex function get_comment_ranking()
Classes 1
Methods 5
Functions 3

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.

No new entries found.

PHP Error Log 144 lines

[18-May-2025 16:10:07 UTC] PHP Warning:  file_get_contents(http://api.facebook.com/method/fql.query?query=select%20commentsbox_count%20from%20link_stat%20where%20url=%22http://127.0.0.1/2022/11/15/hello-world/%22): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
 in /wp-content/plugins/wp-facebook-comment-ranking/wp-fb-comment-ranking.php on line 57
[18-May-2025 16:10:07 UTC] PHP Warning:  Attempt to read property "link_stat" on bool in /wp-content/plugins/wp-facebook-comment-ranking/wp-fb-comment-ranking.php on line 59
[18-May-2025 16:10:07 UTC] PHP Warning:  Attempt to read property "commentsbox_count" on null in /wp-content/plugins/wp-facebook-comment-ranking/wp-fb-comment-ranking.php on line 59
[18-May-2025 16:10:08 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/plugins.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:08 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/index.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:09 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/index.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:09 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/edit.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:09 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/post-new.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:09 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/upload.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:10 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/options-writing.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:10 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/media-new.php(13): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:10 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')
#4 /wp-admin/admin.php(159): require('...')
#5 /wp-admin/edit-tags.php(10): require_once('...')
#6 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[18-May-2025 16:10:10 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_fb_like_ranking_admin_menu" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/menu.php(161): do_action()
#3 /wp-admin/menu.php(423): require_once('...')

(+44 more lines)
See also: All tests for this plugin