Shorturl to random url 1.0

Does Shorturl to random url work with WordPress 6.7.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 18.19 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.7.2
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/shorturl-to-random-url/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=shorturl-to-random-url%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=338b26e6fd
Aspect after-activation
HTTP status 200
Load time 0.350 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

URL shorter

Page screenshot: URL shorter
URL /wp-admin/edit.php?post_type=url_shorter
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

URL shorter → Add New Post

Page screenshot: URL shorter → Add New Post
URL /wp-admin/post-new.php?post_type=url_shorter
Aspect menu-item
HTTP status 200
Load time 0.248 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

URL shorter

Page screenshot: URL shorter
URL /wp-admin/admin.php?page=url_shorter
Aspect menu-item
HTTP status 200
Load time 0.155 s
Memory usage 3.48 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 0.184 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.319 s-0.019 s3.48 MiB3.5 MiB+ 23.8 KiB
/wp-admin/edit.php0.206 s0.218 s+0.012 s3.54 MiB3.57 MiB+ 23.42 KiB
/wp-admin/post-new.php0.783 s0.656 s-0.127 s5.93 MiB5.99 MiB+ 67.43 KiB
/wp-admin/upload.php0.572 s0.489 s-0.083 s3.5 MiB3.5 MiB+ 6.02 KiB
/wp-admin/options-writing.php0.232 s0.218 s-0.014 s3.47 MiB3.48 MiB+ 10.01 KiB
/wp-admin/media-new.php0.362 s0.239 s-0.123 s3.46 MiB3.48 MiB+ 18.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.216 s+0.030 s3.48 MiB3.5 MiB+ 28.88 KiB
/wp-admin/post-new.php?post_type=page0.582 s0.604 s+0.022 s5.92 MiB5.98 MiB+ 62.96 KiB
/wp-admin/options-discussion.php0.279 s0.272 s-0.007 s3.48 MiB3.48 MiB+ 6.51 KiB
/wp-admin/edit-comments.php0.414 s0.436 s+0.022 s3.5 MiB3.5 MiB+ 6.01 KiB
/0.329 s0.199 s-0.130 s3.48 MiB3.43 MiB- 53.09 KiB
Average 0.389 s0.351 s-0.038 s3.93 MiB3.95 MiB+ 18.19 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%208151
Total 208 15 1

PHP Code Analysis | More results »

Lines of code 208
Total complexity 27
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function sru_url_shorter_callback()
Classes 0
Methods 0
Functions 6

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.

Database Tables 1

Custom Post Types 1

ID Name
url_shorterURL shorter

PHP Error Log 98 lines

[20-Feb-2025 08:52:53 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'wp_url_shorter' at line 1 for query SHOW TABLES LIKE wp_url_shorter made by activate_plugin, do_action('activate_shorturl-to-random-url/index.php'), WP_Hook->do_action, WP_Hook->apply_filters, sru_activate
[20-Feb-2025 08:52:53 UTC] PHP Warning:  Undefined variable $charset_collate in /wp-content/plugins/shorturl-to-random-url/index.php on line 27
[20-Feb-2025 08:52:53 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:53 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:53 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:54 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:54 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:54 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:54 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:54 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:54 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:55 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:55 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:55 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:55 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:55 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:55 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:56 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:56 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:56 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:57 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:57 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:57 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:52:58 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:00 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:01 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:02 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:03 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:03 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:03 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:03 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:03 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:04 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:05 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:06 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:06 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:06 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:06 UTC] PHP Warning:  Undefined array key "REDIRECT_URL" in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:06 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
[20-Feb-2025 08:53:06 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/shorturl-to-random-url/index.php on line 192
See also: All tests for this plugin, How to Hide Shorturl to random url Admin Menus