Z Inventory Manager 2.1.2

Does Z Inventory Manager work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
13Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 256.61 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.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/z-inventory-manager/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=z-inventory-manager%2Fz-inventory-manager2.php&plugin_status=all&paged=1&s&_wpnonce=ee4c774c94
Aspect after-activation
HTTP status 200
Load time 0.932 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Z Inventory Manager

Page screenshot: Z Inventory Manager
URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin%2Finventory
Requested URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin/inventory
Aspect menu-item
HTTP status 200
Load time 0.238 s
Memory usage 3.21 MiB
JS errors None
Resource errors None

Z Inventory Manager → Purchases

Page screenshot: Z Inventory Manager → Purchases
URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin%2Fpurchases
Requested URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin/purchases
Aspect menu-item
HTTP status 200
Load time 0.169 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Z Inventory Manager → Sales

Page screenshot: Z Inventory Manager → Sales
URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin%2Fsales
Requested URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin/sales
Aspect menu-item
HTTP status 200
Load time 0.146 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Z Inventory Manager → Settings

Page screenshot: Z Inventory Manager → Settings
URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin%2Fconf
Requested URL /wp-admin/admin.php?page=z-inventory-manager2&hca=admin/conf
Aspect menu-item
HTTP status 200
Load time 0.144 s
Memory usage 2.97 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.216 s
Memory usage 2.88 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.271 s0.310 s+0.039 s2.82 MiB3.08 MiB+ 270.86 KiB
/wp-admin/edit.php0.224 s0.202 s-0.022 s2.86 MiB3.13 MiB+ 270.86 KiB
/wp-admin/post-new.php1.241 s0.957 s-0.284 s5.02 MiB5.29 MiB+ 275.23 KiB
/wp-admin/upload.php0.528 s0.445 s-0.083 s2.7 MiB2.96 MiB+ 266.39 KiB
/wp-admin/options-writing.php0.207 s0.161 s-0.046 s2.71 MiB2.94 MiB+ 234.4 KiB
/wp-admin/media-new.php0.261 s0.272 s+0.011 s2.67 MiB2.93 MiB+ 266.58 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.206 s+0.001 s2.77 MiB2.97 MiB+ 203.52 KiB
/wp-admin/post-new.php?post_type=page1.064 s1.034 s-0.030 s5.01 MiB5.27 MiB+ 266.85 KiB
/wp-admin/options-discussion.php0.259 s0.291 s+0.032 s2.67 MiB2.94 MiB+ 266.91 KiB
/wp-admin/edit-comments.php0.246 s0.228 s-0.018 s2.78 MiB3.03 MiB+ 265.8 KiB
/0.271 s0.239 s-0.032 s2.65 MiB2.88 MiB+ 235.3 KiB
Average 0.434 s0.395 s-0.039 s3.15 MiB3.4 MiB+ 256.61 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.2%15,7281,891209
CSS5.4%926402
PO File2.0%34872
JavaScript1.5%253111
Total 17,255 1,949 214

PHP Code Analysis | More results »

Lines of code 15,895
Total complexity 2,658
Median class complexity 5.0
Median method complexity 1.0
Most complex class HC4_Database_QueryBuilder
Most complex function HC4_Crud_WordPress_CustomPost::read()
Classes 189
Methods 885
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 10

Roles 1

ID Name
zi2_adminZ Inventory Manager Administrator

Capabilities 1

PHP Error Log 38 lines

[11-Apr-2021 13:10:05 UTC] WordPress database error Table 'wordpress.wp_zi2_conf' doesn't exist for query SELECT *
FROM `wp_zi2_conf` made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->_init, HC4_App_Index->boot, HC4_App_Factory->make, HC4_App_Factory->_makeArgs, HC4_App_Factory->make, HC4_App_Factory->_makeArgs, HC4_App_Factory->make, ReflectionClass->newInstanceArgs, HC4_Settings_Database_Implementation->__construct, HC4_Settings_Database_Crud->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_purchases_lines`.*
FROM `wp_zi2_purchases_lines`
WHERE `purchase_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Ui_Admin_Index->get, ZI2_31Inventory_Ui_Admin_Index->render, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Data_Repo->getQty, ZI2_21Purchases_Data_Repo->findManyByItem, ZI2_21Purchases_Data_Repo->_populate, ZI2_21Purchases_Data_Repo_Lines->findManyByPurchases, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_receipts`.*
FROM `wp_zi2_receipts`
WHERE `purchase_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Ui_Admin_Index->get, ZI2_31Inventory_Ui_Admin_Index->render, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Data_Repo->getQty, ZI2_21Purchases_Data_Repo->findManyByItem, ZI2_21Purchases_Data_Repo->_populate, ZI2_21Purchases_Data_Repo_Receipts->findManyByPurchases, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_receipts_lines`.*
FROM `wp_zi2_receipts_lines`
WHERE `receipt_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Ui_Admin_Index->get, ZI2_31Inventory_Ui_Admin_Index->render, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Data_Repo->getQty, ZI2_21Purchases_Data_Repo->findManyByItem, ZI2_21Purchases_Data_Repo->_populate, ZI2_21Purchases_Data_Repo_Receipts->findManyByPurchases, ZI2_21Purchases_Data_Repo_Receipts_Lines->findManyByReceipts, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_sales_lines`.*
FROM `wp_zi2_sales_lines`
WHERE `sale_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Ui_Admin_Index->get, ZI2_31Inventory_Ui_Admin_Index->render, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Data_Repo->getQty, ZI2_22Sales_Data_Repo->findManyByItem, ZI2_22Sales_Data_Repo->_populate, ZI2_22Sales_Data_Repo_Lines->findManyBySales, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_shipments`.*
FROM `wp_zi2_shipments`
WHERE `sale_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Ui_Admin_Index->get, ZI2_31Inventory_Ui_Admin_Index->render, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Data_Repo->getQty, ZI2_22Sales_Data_Repo->findManyByItem, ZI2_22Sales_Data_Repo->_populate, ZI2_22Sales_Data_Repo_Shipments->findManyBySales, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_shipments_lines`.*
FROM `wp_zi2_shipments_lines`
WHERE `shipment_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Ui_Admin_Index->get, ZI2_31Inventory_Ui_Admin_Index->render, HC4_App_Factory_Wrapper->__call, ZI2_31Inventory_Data_Repo->getQty, ZI2_22Sales_Data_Repo->findManyByItem, ZI2_22Sales_Data_Repo->_populate, ZI2_22Sales_Data_Repo_Shipments->findManyBySales, ZI2_22Sales_Data_Repo_Shipments_Lines->findManyByShipments, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_purchases_lines`.*
FROM `wp_zi2_purchases_lines`
WHERE `purchase_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_21Purchases_Ui_Admin_Index->get, HC4_App_Factory_Wrapper->__call, ZI2_21Purchases_Data_Repo->findAll, ZI2_21Purchases_Data_Repo->_populate, ZI2_21Purchases_Data_Repo_Lines->findManyByPurchases, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_receipts`.*
FROM `wp_zi2_receipts`
WHERE `purchase_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_21Purchases_Ui_Admin_Index->get, HC4_App_Factory_Wrapper->__call, ZI2_21Purchases_Data_Repo->findAll, ZI2_21Purchases_Data_Repo->_populate, ZI2_21Purchases_Data_Repo_Receipts->findManyByPurchases, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:07 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 ')' at line 3 for query SELECT `wp_zi2_receipts_lines`.*
FROM `wp_zi2_receipts_lines`
WHERE `receipt_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_21Purchases_Ui_Admin_Index->get, HC4_App_Factory_Wrapper->__call, ZI2_21Purchases_Data_Repo->findAll, ZI2_21Purchases_Data_Repo->_populate, ZI2_21Purchases_Data_Repo_Receipts->findManyByPurchases, ZI2_21Purchases_Data_Repo_Receipts_Lines->findManyByReceipts, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:08 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 ')' at line 3 for query SELECT `wp_zi2_sales_lines`.*
FROM `wp_zi2_sales_lines`
WHERE `sale_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_22Sales_Ui_Admin_Index->get, HC4_App_Factory_Wrapper->__call, ZI2_22Sales_Data_Repo->findAll, ZI2_22Sales_Data_Repo->_populate, ZI2_22Sales_Data_Repo_Lines->findManyBySales, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:08 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 ')' at line 3 for query SELECT `wp_zi2_shipments`.*
FROM `wp_zi2_shipments`
WHERE `sale_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_22Sales_Ui_Admin_Index->get, HC4_App_Factory_Wrapper->__call, ZI2_22Sales_Data_Repo->findAll, ZI2_22Sales_Data_Repo->_populate, ZI2_22Sales_Data_Repo_Shipments->findManyBySales, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
[11-Apr-2021 13:10:08 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 ')' at line 3 for query SELECT `wp_zi2_shipments_lines`.*
FROM `wp_zi2_shipments_lines`
WHERE `shipment_id` IN() made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ZInventoryManager2_Wordpress->adminInit, HC4_App_Index->handleRequest, HC4_App_Index->handle, HC4_App_Factory_Wrapper->__call, ZI2_22Sales_Ui_Admin_Index->get, HC4_App_Factory_Wrapper->__call, ZI2_22Sales_Data_Repo->findAll, ZI2_22Sales_Data_Repo->_populate, ZI2_22Sales_Data_Repo_Shipments->findManyBySales, ZI2_22Sales_Data_Repo_Shipments_Lines->findManyByShipments, HC4_Crud_Sql_Abstract->read, HC4_Crud_Sql_Table->read, HC4_Database_Prefixed->query, HC4_Database_Profiled->query, HC4_Database_Wordpress_Implementation->query
See also: All tests for this plugin, How to Hide PlainInventory Admin Menus