ACPT Lite 1.0.0

Does ACPT Lite work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
888PHP warnings
2PHP notices
6PHP deprecation warnings
3Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 207.23 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 90+
WordPress.org page https://wordpress.org/plugins/acpt-lite/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=acpt-lite%2Fadvanced-custom-post-type-lite.php&plugin_status=all&paged=1&s&_wpnonce=e0ac992ef8
Aspect after-activation
HTTP status 200
Load time 0.646 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

ACPT Lite

Page screenshot: ACPT Lite
URL /wp-admin/admin.php?page=advanced-custom-post-type-lite
Aspect menu-item
HTTP status 200
Load time 0.487 s
Memory usage 3.19 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.201 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.260 s-0.046 s3.08 MiB3.29 MiB+ 207.68 KiB
/wp-admin/edit.php0.175 s0.223 s+0.048 s3.11 MiB3.36 MiB+ 255.18 KiB
/wp-admin/post-new.php0.725 s1.008 s+0.283 s5.27 MiB5.55 MiB+ 288.83 KiB
/wp-admin/upload.php0.363 s0.290 s-0.073 s3.03 MiB3.25 MiB+ 223.88 KiB
/wp-admin/options-writing.php0.246 s0.145 s-0.101 s3.02 MiB3.18 MiB+ 159.13 KiB
/wp-admin/media-new.php0.338 s0.353 s+0.015 s3.01 MiB3.18 MiB+ 176.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.171 s0.242 s+0.071 s3.04 MiB3.23 MiB+ 192.23 KiB
/wp-admin/post-new.php?post_type=page0.601 s0.675 s+0.074 s5.26 MiB5.54 MiB+ 284.41 KiB
/wp-admin/options-discussion.php0.243 s0.245 s+0.002 s3 MiB3.19 MiB+ 191.63 KiB
/wp-admin/edit-comments.php0.200 s0.198 s-0.002 s3.04 MiB3.23 MiB+ 190.57 KiB
/0.261 s0.200 s-0.061 s2.96 MiB3.06 MiB+ 109.88 KiB
Average 0.330 s0.349 s+0.019 s3.44 MiB3.64 MiB+ 207.23 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
PHP89.3%6,3792,76545
CSS4.7%33691
JavaScript4.6%326224
JSON1.4%9802
SVG0.1%501
Total 7,144 2,796 53

PHP Code Analysis | More results »

Lines of code 6,375
Total complexity 1,026
Median class complexity 6.0
Median method complexity 2.0
Most complex class ACPT_Lite\Utils\Assert
Most complex function ACPT_Lite\Includes\ACPT_Lite_DB::import()
Classes 42
Methods 369
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.

Database Tables 9

PHP Error Log 939 lines

[01-Dec-2021 12:24:12 UTC] WordPress database error Table 'wordpress.acpt_custom_post_type' doesn't exist for query 
            SELECT 
                cp.id, 
                cp.post_name as name,
                cp.singular,
                cp.plural,
                cp.icon,
                cp.native,
                cp.supports,
                cp.labels,
                cp.settings,
                COUNT(p.id) as post_count
            FROM `acpt_custom_post_type` cp
            LEFT JOIN `wp_posts` p ON p.post_type = cp.post_name AND p.`post_status` = 'publish'
            WHERE 1=1
             GROUP BY cp.id ORDER BY cp.native DESC; made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/acpt-lite/advanced-custom-post-type-lite.php'), ACPT_Lite\Includes\ACPT_Lite_Plugin->__construct, ACPT_Lite\Includes\ACPT_Lite_Plugin->runAdmin, ACPT_Lite\Admin\ACPT_Lite_Admin->run, ACPT_Lite\Admin\ACPT_Lite_Admin->registerCustomPostTypesAndTaxonomies, ACPT_Lite\Includes\ACPT_Lite_DB::get, ACPT_Lite\Includes\ACPT_Lite_DB::getResults
[01-Dec-2021 12:24:12 UTC] WordPress database error Table 'wordpress.acpt_custom_post_type' doesn't exist for query 
            SELECT 
                cp.id, 
                cp.post_name as name,
                cp.singular,
                cp.plural,
                cp.icon,
                cp.native,
                cp.supports,
                cp.labels,
                cp.settings,
                COUNT(p.id) as post_count
            FROM `acpt_custom_post_type` cp
            LEFT JOIN `wp_posts` p ON p.post_type = cp.post_name AND p.`post_status` = 'publish'
            WHERE 1=1
             GROUP BY cp.id ORDER BY cp.native DESC; made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/acpt-lite/advanced-custom-post-type-lite.php'), ACPT_Lite\Includes\ACPT_Lite_Plugin->__construct, ACPT_Lite\Includes\ACPT_Lite_Plugin->runAdmin, ACPT_Lite\Admin\ACPT_Lite_Admin->run, ACPT_Lite\Admin\ACPT_Lite_Admin->addColumnsToShow, ACPT_Lite\Includes\ACPT_Lite_DB::get, ACPT_Lite\Includes\ACPT_Lite_DB::getResults
[01-Dec-2021 12:24:12 UTC] PHP Deprecated:  Non-static method ACPT_Lite::activate() should not be called statically in /wp-includes/class-wp-hook.php on line 303
[01-Dec-2021 12:24:12 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(id)
        ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci' at line 9 for query CREATE TABLE IF NOT EXISTS  `acpt_custom_post_type_import` (
            id VARCHAR(36) UNIQUE NOT NULL,
            file VARCHAR(255) NOT NULL,
            url VARCHAR(255) NOT NULL,
            file_type VARCHAR(36) DEFAULT NULL,
            user_id INT(11),
            content TEXT,
            created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
            PRIMARY KEY(id)
        ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action('activate_acpt-lite/advanced-custom-post-type-lite.php'), WP_Hook->do_action, WP_Hook->apply_filters, ACPT_Lite::activate, ACPT_Lite\Includes\ACPT_Lite_Activator::activate, ACPT_Lite\Includes\ACPT_Lite_DB::createSchema, dbDelta
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:12 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 703
[01-Dec-2021 12:24:13 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /wp-includes/template.php on line 706

(+839 more lines)
See also: All tests for this plugin, How to Hide ACPT Lite Admin Menus