CustomQuery 0.4

Does CustomQuery work with WordPress 6.8.2 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.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/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=1d9338ad57
Aspect after-activation
HTTP status 200
Load time 0.227 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.149 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.162 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.239 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.342 s0.309 s-0.033 s3.51 MiB3.52 MiB+ 10.46 KiB
/wp-admin/edit.php0.200 s0.219 s+0.019 s3.57 MiB3.58 MiB+ 8.1 KiB
/wp-admin/post-new.php0.840 s0.661 s-0.179 s6.06 MiB6.07 MiB+ 10.84 KiB
/wp-admin/upload.php0.785 s0.283 s-0.502 s3.52 MiB3.51 MiB- 9.3 KiB
/wp-admin/options-writing.php0.217 s0.181 s-0.036 s3.5 MiB3.49 MiB- 5.31 KiB
/wp-admin/media-new.php0.287 s0.386 s+0.099 s3.49 MiB3.49 MiB+ 2.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.276 s+0.081 s3.5 MiB3.52 MiB+ 13.55 KiB
/wp-admin/post-new.php?post_type=page0.770 s0.601 s-0.169 s6.05 MiB6.06 MiB+ 6.42 KiB
/wp-admin/options-discussion.php0.473 s0.248 s-0.225 s3.5 MiB3.49 MiB- 8.81 KiB
/wp-admin/edit-comments.php0.227 s0.203 s-0.024 s3.52 MiB3.51 MiB- 9.31 KiB
/0.299 s0.193 s-0.106 s3.43 MiB3.43 MiB+ 1.38 KiB
Average 0.421 s0.324 s-0.098 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

[31-Jul-2025 10:47:42 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
[31-Jul-2025 10:47:43 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
[31-Jul-2025 10:47:43 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
[31-Jul-2025 10:47:43 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/customquery/customquery.php on line 199
[31-Jul-2025 10:47:43 UTC] PHP Warning:  Undefined array key "status" in /wp-content/plugins/customquery/customquery.php on line 200
[31-Jul-2025 10:47:43 UTC] PHP Warning:  Undefined array key "table" in /wp-content/plugins/customquery/customquery.php on line 201
[31-Jul-2025 10:47:43 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
[31-Jul-2025 10:47:43 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
[31-Jul-2025 10:47:44 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
[31-Jul-2025 10:47:44 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/customquery/customquery.php on line 79
[31-Jul-2025 10:47:44 UTC] PHP Warning:  Undefined array key "where" in /wp-content/plugins/customquery/customquery.php on line 80
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47:50 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
[31-Jul-2025 10:47:50 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
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47: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
[31-Jul-2025 10:47:53 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
[31-Jul-2025 10:47:53 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
[31-Jul-2025 10:47:53 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