Shopbox 1.17.94

Does Shopbox work with WordPress 6.2.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: 72.09 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.2.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=e3298aeeee
Aspect after-activation
HTTP status 200
Load time 0.288 s
Memory usage 3.09 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.253 s
Memory usage 3.08 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.205 s
Memory usage 3.13 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.183 s
Memory usage 3.05 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.158 s
Memory usage 3.05 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.140 s
Memory usage 3.07 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.238 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.272 s-0.026 s3.07 MiB3.15 MiB+ 76.52 KiB
/wp-admin/edit.php0.199 s0.198 s-0.001 s3.1 MiB3.17 MiB+ 75.45 KiB
/wp-admin/post-new.php0.776 s0.968 s+0.192 s5.02 MiB5.09 MiB+ 74.59 KiB
/wp-admin/upload.php0.560 s0.310 s-0.250 s3.02 MiB3.07 MiB+ 59.52 KiB
/wp-admin/options-writing.php0.192 s0.148 s-0.044 s3.01 MiB3.06 MiB+ 47.79 KiB
/wp-admin/media-new.php0.353 s0.205 s-0.148 s2.99 MiB3.06 MiB+ 71.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.196 s-0.003 s3.01 MiB3.08 MiB+ 76.52 KiB
/wp-admin/post-new.php?post_type=page0.625 s0.789 s+0.164 s5.01 MiB5.08 MiB+ 70.18 KiB
/wp-admin/options-discussion.php0.221 s0.249 s+0.028 s3 MiB3.06 MiB+ 61.52 KiB
/wp-admin/edit-comments.php0.225 s0.208 s-0.017 s3.03 MiB3.08 MiB+ 59.19 KiB
/0.320 s0.215 s-0.105 s2.97 MiB3.09 MiB+ 119.72 KiB
Average 0.361 s0.342 s-0.019 s3.38 MiB3.45 MiB+ 72.09 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,23023226
JSON0.5%1101
JavaScript0.1%3271
CSS0.0%041
Total 2,244 263 29

PHP Code Analysis | More results »

Lines of code 1,868
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

[28-May-2023 15:56:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-May-2023 15:56:24 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-May-2023 15:56:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:24 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-May-2023 15:56:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:24 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-May-2023 15:56:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:24 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-May-2023 15:56:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:24 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-May-2023 15:56:25 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-May-2023 15:56:25 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-May-2023 15:56:25 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-May-2023 15:56:25 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:25 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-May-2023 15:56:25 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:25 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-May-2023 15:56:25 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:25 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-May-2023 15:56:25 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:25 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-May-2023 15:56:26 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-May-2023 15:56:26 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-May-2023 15:56:26 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:26 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-May-2023 15:56:26 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:26 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-May-2023 15:56:26 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:26 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-May-2023 15:56:26 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-May-2023 15:56:26 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