CustomQuery 0.4

Does CustomQuery work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
5PHP notices
17PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -1.04 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/customquery/
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=customquery%2Fcustomquery.php&plugin_status=all&paged=1&s&_wpnonce=fa9acb2502
Aspect after-activation
HTTP status 200
Load time 0.463 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

CustomQuery

Page screenshot: CustomQuery
URL /wp-admin/admin.php?page=customquery
Aspect menu-item
HTTP status 200
Load time 0.237 s
Memory usage N/A
JS errors None
Resource errors None

CustomQuery → Run A Query

Page screenshot: CustomQuery → Run A Query
URL /wp-admin/admin.php?page=customquery2
Aspect menu-item
HTTP status 200
Load time 0.160 s
Memory usage 3.6 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.241 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.396 s0.316 s-0.080 s3.72 MiB3.73 MiB+ 5.58 KiB
/wp-admin/edit.php0.211 s0.235 s+0.024 s3.76 MiB3.76 MiB+ 5.58 KiB
/wp-admin/post-new.php0.929 s1.071 s+0.142 s5.55 MiB5.56 MiB+ 13.75 KiB
/wp-admin/upload.php0.454 s0.345 s-0.109 s3.68 MiB3.69 MiB+ 5.05 KiB
/wp-admin/options-writing.php0.241 s0.150 s-0.091 s3.62 MiB3.6 MiB- 15.05 KiB
/wp-admin/media-new.php0.510 s0.221 s-0.289 s3.66 MiB3.67 MiB+ 5.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.339 s+0.118 s3.69 MiB3.69 MiB+ 6.13 KiB
/wp-admin/post-new.php?post_type=page0.682 s0.757 s+0.075 s5.54 MiB5.55 MiB+ 5.4 KiB
/wp-admin/options-discussion.php0.264 s0.228 s-0.036 s3.6 MiB3.6 MiB+ 5.53 KiB
/wp-admin/edit-comments.php0.263 s0.237 s-0.026 s3.7 MiB3.7 MiB+ 4.47 KiB
/0.305 s0.244 s-0.061 s3.6 MiB3.55 MiB- 53.09 KiB
Average 0.407 s0.377 s-0.030 s4.01 MiB4.01 MiB- 1.04 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%291411
Total 291 41 1

PHP Code Analysis | More results »

Lines of code 295
Total complexity 48
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function cq_tables()
Classes 0
Methods 0
Functions 5

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

[19-Sep-2022 01:40:05 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:06 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:07 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:07 UTC] PHP Notice:  Undefined index: action in /wp-content/plugins/customquery/customquery.php on line 199
[19-Sep-2022 01:40:07 UTC] PHP Notice:  Undefined index: status in /wp-content/plugins/customquery/customquery.php on line 200
[19-Sep-2022 01:40:07 UTC] PHP Notice:  Undefined index: table in /wp-content/plugins/customquery/customquery.php on line 201
[19-Sep-2022 01:40:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_query() in /wp-content/plugins/customquery/customquery.php:260
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): cq_tables()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 {main}
  thrown in /wp-content/plugins/customquery/customquery.php on line 260
[19-Sep-2022 01:40:07 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:07 UTC] PHP Notice:  Undefined index: action in /wp-content/plugins/customquery/customquery.php on line 79
[19-Sep-2022 01:40:07 UTC] PHP Notice:  Undefined index: where in /wp-content/plugins/customquery/customquery.php on line 80
[19-Sep-2022 01:40:09 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:10 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:10 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:12 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:13 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:13 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:13 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:14 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:16 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:16 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:17 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:17 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
[19-Sep-2022 01:40:17 UTC] PHP Deprecated:  Function add_object_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /wp-includes/functions.php on line 5379
See also: All tests for this plugin