Shopbox 1.17.92

Does Shopbox work with WordPress 6.1.1 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: 67.18 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.1.1
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=ab576803f4
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 3.06 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.223 s
Memory usage 3.05 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.181 s
Memory usage 3.1 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.172 s
Memory usage 3.02 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.142 s
Memory usage 3.02 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.131 s
Memory usage 3.04 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.223 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.284 s0.235 s-0.049 s3.05 MiB3.11 MiB+ 70.98 KiB
/wp-admin/edit.php0.161 s0.174 s+0.013 s3.07 MiB3.14 MiB+ 69.9 KiB
/wp-admin/post-new.php0.742 s0.898 s+0.156 s4.97 MiB5.04 MiB+ 70.49 KiB
/wp-admin/upload.php0.615 s0.248 s-0.367 s2.99 MiB3.04 MiB+ 53.66 KiB
/wp-admin/options-writing.php0.153 s0.143 s-0.010 s2.99 MiB3.03 MiB+ 39.68 KiB
/wp-admin/media-new.php0.253 s0.221 s-0.032 s2.97 MiB3.03 MiB+ 65.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.170 s-0.003 s2.98 MiB3.05 MiB+ 71.02 KiB
/wp-admin/post-new.php?post_type=page0.808 s0.763 s-0.045 s4.96 MiB5.03 MiB+ 70.48 KiB
/wp-admin/options-discussion.php0.223 s0.216 s-0.007 s2.97 MiB3.03 MiB+ 53.52 KiB
/wp-admin/edit-comments.php0.192 s0.189 s-0.003 s3 MiB3.05 MiB+ 53.69 KiB
/0.256 s0.198 s-0.058 s2.94 MiB3.06 MiB+ 119.72 KiB
Average 0.351 s0.314 s-0.037 s3.35 MiB3.42 MiB+ 67.18 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,21623226
JSON0.5%1101
JavaScript0.1%3271
CSS0.0%041
Total 2,230 263 29

PHP Code Analysis | More results »

Lines of code 1,854
Total complexity 395
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 126
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

[28-Feb-2023 15:27:30 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-Feb-2023 15:27:30 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
[28-Feb-2023 15:27:30 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:30 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
[28-Feb-2023 15:27:30 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:30 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
[28-Feb-2023 15:27:30 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:30 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
[28-Feb-2023 15:27:30 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:30 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
[28-Feb-2023 15:27:31 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(308): ShopBox\Admin\Admin->importProducts()
#16 /wp-includes/class-wp-hook.php(332): 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
[28-Feb-2023 15:27:31 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-Feb-2023 15:27:31 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
[28-Feb-2023 15:27:31 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:31 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
[28-Feb-2023 15:27:31 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:31 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
[28-Feb-2023 15:27:31 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:31 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
[28-Feb-2023 15:27:31 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:31 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
[28-Feb-2023 15:27:32 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-Feb-2023 15:27:32 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
[28-Feb-2023 15:27:32 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:32 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
[28-Feb-2023 15:27:32 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:32 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
[28-Feb-2023 15:27:32 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:32 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
[28-Feb-2023 15:27:32 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Feb-2023 15:27:32 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