CustomQuery 0.4

Does CustomQuery work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 1.9 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/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=11f9b039ba
Aspect after-activation
HTTP status 200
Load time 0.214 s
Memory usage 3.53 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.126 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.129 s
Memory usage 3.49 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.144 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.321 s0.212 s-0.109 s3.51 MiB3.52 MiB+ 10.46 KiB
/wp-admin/edit.php0.172 s0.172 s+0.000 s3.57 MiB3.58 MiB+ 8.1 KiB
/wp-admin/post-new.php0.685 s0.564 s-0.121 s6.06 MiB6.07 MiB+ 10.84 KiB
/wp-admin/upload.php0.505 s0.434 s-0.071 s3.52 MiB3.51 MiB- 9.3 KiB
/wp-admin/options-writing.php0.197 s0.176 s-0.021 s3.5 MiB3.5 MiB- 5.31 KiB
/wp-admin/media-new.php0.255 s0.221 s-0.034 s3.49 MiB3.49 MiB+ 2.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.158 s0.176 s+0.018 s3.5 MiB3.52 MiB+ 13.55 KiB
/wp-admin/post-new.php?post_type=page0.553 s0.505 s-0.048 s6.05 MiB6.06 MiB+ 6.42 KiB
/wp-admin/options-discussion.php0.247 s0.217 s-0.030 s3.5 MiB3.49 MiB- 8.81 KiB
/wp-admin/edit-comments.php0.402 s0.360 s-0.042 s3.52 MiB3.51 MiB- 9.31 KiB
/0.258 s0.175 s-0.083 s3.43 MiB3.43 MiB+ 1.38 KiB
Average 0.341 s0.292 s-0.049 s3.97 MiB3.97 MiB+ 1.9 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 31 lines

[15-May-2025 21:33:45 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 6121
[15-May-2025 21:33:46 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 6121
[15-May-2025 21:33:46 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 6121
[15-May-2025 21:33:46 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/customquery/customquery.php on line 199
[15-May-2025 21:33:46 UTC] PHP Warning:  Undefined array key "status" in /wp-content/plugins/customquery/customquery.php on line 200
[15-May-2025 21:33:46 UTC] PHP Warning:  Undefined array key "table" in /wp-content/plugins/customquery/customquery.php on line 201
[15-May-2025 21:33:46 UTC] PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/customquery/customquery.php on line 241
[15-May-2025 21:33:46 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(324): cq_tables()
#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(260): do_action()
#4 {main}
  thrown in /wp-content/plugins/customquery/customquery.php on line 260
[15-May-2025 21:33:47 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 6121
[15-May-2025 21:33:47 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/customquery/customquery.php on line 79
[15-May-2025 21:33:47 UTC] PHP Warning:  Undefined array key "where" in /wp-content/plugins/customquery/customquery.php on line 80
[15-May-2025 21:33:48 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 6121
[15-May-2025 21:33:49 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 6121
[15-May-2025 21:33:49 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 6121
[15-May-2025 21:33:51 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 6121
[15-May-2025 21:33:51 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 6121
[15-May-2025 21:33:51 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 6121
[15-May-2025 21:33:52 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 6121
[15-May-2025 21:33:52 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 6121
[15-May-2025 21:33:54 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 6121
[15-May-2025 21:33:54 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 6121
[15-May-2025 21:33:54 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 6121
[15-May-2025 21:33:55 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 6121
[15-May-2025 21:33:55 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 6121
See also: All tests for this plugin