Shopbox 1.17.9

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.59 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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=10d952cd7b
Aspect after-activation
HTTP status 200
Load time 0.418 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.142 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.170 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.200 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.152 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.158 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.250 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.298 s+0.014 s3.05 MiB3.11 MiB+ 71.02 KiB
/wp-admin/edit.php0.184 s0.217 s+0.033 s3.07 MiB3.14 MiB+ 69.95 KiB
/wp-admin/post-new.php0.757 s0.955 s+0.198 s4.97 MiB5.04 MiB+ 74.91 KiB
/wp-admin/upload.php0.526 s0.569 s+0.043 s2.99 MiB3.04 MiB+ 53.65 KiB
/wp-admin/options-writing.php0.135 s0.178 s+0.043 s2.99 MiB3.03 MiB+ 39.68 KiB
/wp-admin/media-new.php0.262 s0.198 s-0.064 s2.97 MiB3.03 MiB+ 65.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.188 s+0.027 s2.98 MiB3.05 MiB+ 71.02 KiB
/wp-admin/post-new.php?post_type=page0.614 s0.656 s+0.042 s4.96 MiB5.03 MiB+ 70.49 KiB
/wp-admin/options-discussion.php0.194 s0.193 s-0.001 s2.97 MiB3.03 MiB+ 53.52 KiB
/wp-admin/edit-comments.php0.179 s0.194 s+0.015 s3 MiB3.05 MiB+ 53.69 KiB
/0.267 s0.216 s-0.051 s2.94 MiB3.06 MiB+ 119.72 KiB
Average 0.324 s0.351 s+0.027 s3.35 MiB3.42 MiB+ 67.59 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,19523226
JSON0.5%1101
JavaScript0.1%3271
CSS0.0%041
Total 2,209 263 29

PHP Code Analysis | More results »

Lines of code 1,837
Total complexity 389
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 125
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

[29-Nov-2022 04:45:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[29-Nov-2022 04:45: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
[29-Nov-2022 04:45:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45: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
[29-Nov-2022 04:45:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45: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
[29-Nov-2022 04:45:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45: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
[29-Nov-2022 04:45:18 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45: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
[29-Nov-2022 04:45:19 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(246): 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
[29-Nov-2022 04:45:19 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[29-Nov-2022 04:45:19 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
[29-Nov-2022 04:45:19 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:19 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
[29-Nov-2022 04:45:19 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:19 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
[29-Nov-2022 04:45:19 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:19 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
[29-Nov-2022 04:45:19 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:19 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
[29-Nov-2022 04:45:20 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[29-Nov-2022 04:45:20 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
[29-Nov-2022 04:45:20 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:20 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
[29-Nov-2022 04:45:20 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:20 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
[29-Nov-2022 04:45:20 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:20 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
[29-Nov-2022 04:45:20 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[29-Nov-2022 04:45:20 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