Shopbox 1.17.95

Does Shopbox work with WordPress 6.3.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 66.39 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.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50+
WordPress.org page https://wordpress.org/plugins/shopbox/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=shopbox%2Fshopbox.php&plugin_status=all&paged=1&s&_wpnonce=157f1bd77e
Aspect after-activation
HTTP status 200
Load time 0.333 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Shopbox

Page screenshot: Shopbox
URL /wp-admin/admin.php?page=shopbox
Aspect menu-item
HTTP status 200
Load time 0.145 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Shopbox → Import Products

Page screenshot: Shopbox → Import  Products
URL /wp-admin/admin.php?page=shopbox_settings
Requested URL /wp-admin/admin.php?page=shopbox_import_products
Aspect menu-item
HTTP status 200
Load time 0.166 s
Memory usage 2.88 MiB
JS errors None
Resource errors None

Shopbox → Export Products

Page screenshot: Shopbox → Export  Products
URL /wp-admin/admin.php?page=shopbox_settings
Requested URL /wp-admin/admin.php?page=shopbox_export_products
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Shopbox → Settings

Page screenshot: Shopbox → Settings
URL /wp-admin/admin.php?page=shopbox_settings
Aspect menu-item
HTTP status 200
Load time 0.159 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Shopbox → Exception Logs

Page screenshot: Shopbox → Exception Logs
URL /wp-admin/admin.php?page=shopbox_exception_logs
Aspect menu-item
HTTP status 200
Load time 0.159 s
Memory usage 2.82 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.170 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.358 s0.294 s-0.064 s2.83 MiB2.9 MiB+ 71.15 KiB
/wp-admin/edit.php0.196 s0.207 s+0.011 s2.85 MiB2.92 MiB+ 70.07 KiB
/wp-admin/post-new.php0.703 s0.739 s+0.036 s5.22 MiB5.31 MiB+ 94.77 KiB
/wp-admin/upload.php0.556 s0.473 s-0.083 s2.77 MiB2.82 MiB+ 54.14 KiB
/wp-admin/options-writing.php0.206 s0.198 s-0.008 s2.76 MiB2.81 MiB+ 45.74 KiB
/wp-admin/media-new.php0.369 s0.263 s-0.106 s2.74 MiB2.81 MiB+ 66.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.183 s-0.001 s2.76 MiB2.83 MiB+ 71.14 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.555 s-0.006 s5.21 MiB5.3 MiB+ 90.36 KiB
/wp-admin/options-discussion.php0.199 s0.234 s+0.035 s2.75 MiB2.8 MiB+ 56.15 KiB
/wp-admin/edit-comments.php0.404 s0.207 s-0.197 s2.78 MiB2.83 MiB+ 53.81 KiB
/0.293 s0.204 s-0.089 s3.13 MiB3.19 MiB+ 56.41 KiB
Average 0.366 s0.323 s-0.043 s3.25 MiB3.32 MiB+ 66.39 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
PHP99.4%2,23123226
JSON0.5%1101
JavaScript0.1%3271
CSS0.0%041
Total 2,245 263 29

PHP Code Analysis | More results »

Lines of code 1,869
Total complexity 401
Median class complexity 12.5
Median method complexity 1.0
Most complex class ShopBox\Admin\Admin
Most complex function ShopBox\Integrators\ProductsExporter::exportProducts()
Classes 16
Methods 127
Functions 3

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 1

PHP Error Log 55 lines

[19-Oct-2023 04:48:16 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[19-Oct-2023 04:48:16 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[19-Oct-2023 04:48:16 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:16 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:16 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:16 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:16 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:16 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:16 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:16 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Fatal error:  Uncaught GuzzleHttp\Exception\ClientException: Client error: `GET https://api.shopbox.com/api/v3/tags` resulted in a `401 Unauthorized` response:
{"error":{"name":"Unauthorized","message":"Your request was made with invalid credentials.","code":0,"status":401}}
 in /wp-content/plugins/shopbox/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /wp-content/plugins/shopbox/vendor/guzzlehttp/guzzle/src/Middleware.php(69): GuzzleHttp\Exception\RequestException::create()
#1 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#2 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler()
#3 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run()
#5 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /wp-content/plugins/shopbox/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /wp-content/plugins/shopbox/vendor/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Promise\Promise->wait()
#10 /wp-content/plugins/shopbox/vendor/guzzlehttp/guzzle/src/ClientTrait.php(44): GuzzleHttp\Client->request()
#11 /wp-content/plugins/shopbox/ShopBox/Api.php(59): GuzzleHttp\Client->get()
#12 /wp-content/plugins/shopbox/ShopBox/Api.php(193): ShopBox\Api->get()
#13 /wp-content/plugins/shopbox/ShopBox/Integrators/ProductsImporter.php(17): ShopBox\Api->getTags()
#14 /wp-content/plugins/shopbox/ShopBox/Admin/Admin.php(247): ShopBox\Integrators\ProductsImporter->getUnsynchedProducts()
#15 /wp-includes/class-wp-hook.php(310): ShopBox\Admin\Admin->importProducts()
#16 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#17 /wp-includes/plugin.php(517): WP_Hook->do_action()
#18 /wp-admin/admin.php(259): do_action()
#19 {main}
  thrown in /wp-content/plugins/shopbox/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113
[19-Oct-2023 04:48:17 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[19-Oct-2023 04:48:17 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[19-Oct-2023 04:48:17 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:17 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[19-Oct-2023 04:48:18 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[19-Oct-2023 04:48:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[19-Oct-2023 04:48:18 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
See also: All tests for this plugin