ACPT Lite 1.0.2

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

Summary

Errors
864PHP warnings
3PHP notices
5PHP deprecation warnings
4Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 229.55 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.021 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.3
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=931b721adc
Aspect after-activation
HTTP status 200
Load time 0.617 s
Memory usage 3.26 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.447 s
Memory usage 3.21 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.171 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.289 s0.263 s-0.026 s3.08 MiB3.36 MiB+ 287.05 KiB
/wp-admin/edit.php0.150 s0.168 s+0.018 s3.11 MiB3.38 MiB+ 270.5 KiB
/wp-admin/post-new.php0.798 s1.125 s+0.327 s5.27 MiB5.56 MiB+ 304.15 KiB
/wp-admin/upload.php0.452 s0.299 s-0.153 s3.03 MiB3.26 MiB+ 241.38 KiB
/wp-admin/options-writing.php0.123 s0.117 s-0.006 s3.02 MiB3.2 MiB+ 176.63 KiB
/wp-admin/media-new.php0.275 s0.295 s+0.020 s3.01 MiB3.2 MiB+ 193.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.159 s0.197 s+0.038 s3.04 MiB3.24 MiB+ 207.59 KiB
/wp-admin/post-new.php?post_type=page0.762 s0.824 s+0.062 s5.26 MiB5.55 MiB+ 303.73 KiB
/wp-admin/options-discussion.php0.193 s0.176 s-0.017 s3 MiB3.21 MiB+ 209.45 KiB
/wp-admin/edit-comments.php0.175 s0.177 s+0.002 s3.04 MiB3.24 MiB+ 205.94 KiB
/0.214 s0.181 s-0.033 s2.96 MiB3.08 MiB+ 125.09 KiB
Average 0.326 s0.347 s+0.021 s3.44 MiB3.66 MiB+ 229.55 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
PHP91.4%6,4382,78645
CSS4.8%33691
JavaScript3.8%265213
SVG0.1%501
Total 7,044 2,816 50

PHP Code Analysis | More results »

Lines of code 6,434
Total complexity 1,036
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 373
Functions 1

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

Options wp_options 1

PHP Error Log 916 lines

[15-Jan-2022 22:15:49 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5663
[15-Jan-2022 22:15:49 UTC] WordPress database error Table 'wordpress.acpt_custom_post_type' doesn't exist for query SELECT id FROM `acpt_custom_post_type` LIMIT 1; made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/acpt-lite/advanced-custom-post-type-lite.php'), ACPT_Lite::checkForPluginUpgrades, ACPT_Lite\Includes\ACPT_Lite_DB::checkIfSchemaExists, ACPT_Lite\Includes\ACPT_Lite_DB::executeQueryOrThrowException
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 UTC] PHP Deprecated:  Non-static method ACPT_Lite::activate() should not be called statically in /wp-includes/class-wp-hook.php on line 303
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:49 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
[15-Jan-2022 22:15:50 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
[15-Jan-2022 22:15:50 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
[15-Jan-2022 22:15:50 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
[15-Jan-2022 22:15:50 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
[15-Jan-2022 22:15:50 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
[15-Jan-2022 22:15:50 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

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