Share Rail 2.2

Does Share Rail work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -37.81 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/share-rail/
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=share-rail%2Fshare-rail.php&plugin_status=all&paged=1&s&_wpnonce=e7ff534685
Aspect after-activation
HTTP status 500
Load time 0.322 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.199 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/0.300 s0.144 s-0.156 s3.42 MiB3.38 MiB- 37.81 KiB
Average 0.300 s0.144 s-0.156 s3.42 MiB3.38 MiB- 37.81 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
Language % Lines of code Comment lines Files
PHP56.0%6882415
CSS44.0%5411561
Total 1,229 180 16

PHP Code Analysis | More results »

Lines of code 388
Total complexity 95
Median class complexity 4.5
Median method complexity 1.0
Most complex class shareRail
Most complex function shareRail::getPlugins()
Classes 10
Methods 47
Functions 0

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 190 lines

[24-Apr-2024 19:33:30 UTC] PHP Deprecated:  Optional parameter $args declared before required parameter $shareRail is implicitly treated as a required parameter in /wp-content/plugins/share-rail/plugin/facebook.php on line 21
[24-Apr-2024 19:33:30 UTC] PHP Deprecated:  Optional parameter $args declared before required parameter $shareRail is implicitly treated as a required parameter in /wp-content/plugins/share-rail/plugin/twitter.php on line 30
[24-Apr-2024 19:33:30 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:30 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:30 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:30 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:30 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:30 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:30 UTC] PHP Fatal error:  Uncaught Error: Non-static method shareRail_Twitter::enqueue_scripts() cannot be called statically in /wp-content/plugins/share-rail/share-rail.php:187
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): shareRail->hook_admin_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/plugins.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/share-rail/share-rail.php on line 187
[24-Apr-2024 19:33:31 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:31 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:31 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:31 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:31 UTC] PHP Fatal error:  Uncaught Error: Non-static method shareRail_Twitter::enqueue_scripts() cannot be called statically in /wp-content/plugins/share-rail/share-rail.php:187
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): shareRail->hook_admin_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/index.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/share-rail/share-rail.php on line 187
[24-Apr-2024 19:33:31 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:31 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Fatal error:  Uncaught Error: Non-static method shareRail_Twitter::enqueue_scripts() cannot be called statically in /wp-content/plugins/share-rail/share-rail.php:187
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): shareRail->hook_admin_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/index.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/share-rail/share-rail.php on line 187
[24-Apr-2024 19:33:32 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Fatal error:  Uncaught Error: Non-static method shareRail_Twitter::enqueue_scripts() cannot be called statically in /wp-content/plugins/share-rail/share-rail.php:187
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): shareRail->hook_admin_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/edit.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/share-rail/share-rail.php on line 187
[24-Apr-2024 19:33:32 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Fatal error:  Uncaught Error: Non-static method shareRail_Twitter::enqueue_scripts() cannot be called statically in /wp-content/plugins/share-rail/share-rail.php:187
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): shareRail->hook_admin_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/post-new.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/share-rail/share-rail.php on line 187
[24-Apr-2024 19:33:32 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Fatal error:  Uncaught Error: Non-static method shareRail_Twitter::enqueue_scripts() cannot be called statically in /wp-content/plugins/share-rail/share-rail.php:187
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): shareRail->hook_admin_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/upload.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/share-rail/share-rail.php on line 187
[24-Apr-2024 19:33:32 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[24-Apr-2024 19:33:32 UTC] PHP Fatal error:  Uncaught Error: Non-static method shareRail_Twitter::enqueue_scripts() cannot be called statically in /wp-content/plugins/share-rail/share-rail.php:187
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): shareRail->hook_admin_init()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/options-writing.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/share-rail/share-rail.php on line 187
[24-Apr-2024 19:33:32 UTC] PHP Warning:  Undefined variable $plugins in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/share-rail/share-rail.php on line 77
[24-Apr-2024 19:33:32 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078

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