Shopbox 1.17.97

Does Shopbox work with WordPress 6.7.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: 70.15 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.7.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=8e2e8e07bf
Aspect after-activation
HTTP status 200
Load time 0.438 s
Memory usage 3.57 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.130 s
Memory usage 3.54 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.164 s
Memory usage 3.54 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.167 s
Memory usage 3.54 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.133 s
Memory usage 3.54 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.54 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.186 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.265 s0.297 s+0.032 s3.48 MiB3.56 MiB+ 80.23 KiB
/wp-admin/edit.php0.174 s0.163 s-0.011 s3.54 MiB3.62 MiB+ 79.9 KiB
/wp-admin/post-new.php0.690 s0.571 s-0.119 s5.92 MiB6.03 MiB+ 104.53 KiB
/wp-admin/upload.php0.480 s0.510 s+0.030 s3.49 MiB3.56 MiB+ 62.86 KiB
/wp-admin/options-writing.php0.176 s0.186 s+0.010 s3.47 MiB3.54 MiB+ 66.85 KiB
/wp-admin/media-new.php0.249 s0.216 s-0.033 s3.46 MiB3.54 MiB+ 75.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.156 s0.176 s+0.020 s3.48 MiB3.56 MiB+ 85.72 KiB
/wp-admin/post-new.php?post_type=page0.566 s0.535 s-0.031 s5.92 MiB6.02 MiB+ 100.06 KiB
/wp-admin/options-discussion.php0.231 s0.233 s+0.002 s3.47 MiB3.54 MiB+ 63.35 KiB
/wp-admin/edit-comments.php0.198 s0.193 s-0.005 s3.49 MiB3.56 MiB+ 62.85 KiB
/0.286 s0.168 s-0.118 s3.48 MiB3.47 MiB- 9.75 KiB
Average 0.316 s0.295 s-0.020 s3.93 MiB4 MiB+ 70.15 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,23423526
JSON0.5%1101
JavaScript0.1%3271
CSS0.0%041
Total 2,248 266 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

[28-Nov-2024 05:18:22 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-Nov-2024 05:18:22 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-Nov-2024 05:18:22 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:22 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-Nov-2024 05:18:22 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:22 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-Nov-2024 05:18:22 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:22 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-Nov-2024 05:18:22 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:22 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-Nov-2024 05:18:23 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(324): ShopBox\Admin\Admin->importProducts()
#16 /wp-includes/class-wp-hook.php(348): 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-Nov-2024 05:18:23 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-Nov-2024 05:18:23 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-Nov-2024 05:18:23 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:23 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-Nov-2024 05:18:23 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:23 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-Nov-2024 05:18:23 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:23 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-Nov-2024 05:18:23 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18:23 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-Nov-2024 05:18:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 62
[28-Nov-2024 05:18: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-Nov-2024 05:18:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18: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-Nov-2024 05:18:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18: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-Nov-2024 05:18:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18: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-Nov-2024 05:18:24 UTC] PHP Warning:  Undefined variable $paymentTypes in /wp-content/plugins/shopbox/ShopBox/Admin/partials/general-settings.php on line 84
[28-Nov-2024 05:18: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
See also: All tests for this plugin