Sunshine Photo Cart 2.9.10

Does Sunshine Photo Cart work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP warnings
50PHP notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 530.65 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/sunshine-photo-cart/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 28

About Sunshine Photo Cart ‹ Test site — WordPress

Page screenshot: About Sunshine Photo Cart ‹ Test site — WordPress
URL /wp-admin/admin.php?page=sunshine_about&sunshine_install
Requested URL /wp-admin/plugins.php?action=activate&plugin=sunshine-photo-cart%2Fsunshine-photo-cart.php&plugin_status=all&paged=1&s&_wpnonce=e9443ca48f
Aspect after-activation
HTTP status 200
Load time 2.774 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Sunshine

Page screenshot: Sunshine
URL /wp-admin/admin.php?page=sunshine_admin
Aspect menu-item
HTTP status 200
Load time 0.181 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Sunshine → Settings

Page screenshot: Sunshine → Settings
URL /wp-admin/admin.php?page=sunshine
Aspect menu-item
HTTP status 200
Load time 0.647 s
Memory usage 4.48 MiB
JS errors None
Resource errors None

Sunshine → Settings → Pages

Page screenshot: Sunshine → Settings → Pages
URL /wp-admin/admin.php?page=sunshine&tab=pages
Aspect menu-item-tab
HTTP status 200
Load time 0.339 s
Memory usage 4.53 MiB
JS errors None
Resource errors None

Sunshine → Settings → Galleries

Page screenshot: Sunshine → Settings → Galleries
URL /wp-admin/admin.php?page=sunshine&tab=galleries
Aspect menu-item-tab
HTTP status 200
Load time 0.340 s
Memory usage 4.48 MiB
JS errors None
Resource errors None

Sunshine → Settings → Checkout

Page screenshot: Sunshine → Settings → Checkout
URL /wp-admin/admin.php?page=sunshine&tab=checkout
Aspect menu-item-tab
HTTP status 200
Load time 1.074 s
Memory usage 4.52 MiB
JS errors None
Resource errors None

Sunshine → Settings → Payments

Page screenshot: Sunshine → Settings → Payments
URL /wp-admin/admin.php?page=sunshine&tab=payments
Aspect menu-item-tab
HTTP status 200
Load time 0.368 s
Memory usage 4.48 MiB
JS errors None
Resource errors None

Sunshine → Settings → Shipping

Page screenshot: Sunshine → Settings → Shipping
URL /wp-admin/admin.php?page=sunshine&tab=shipping
Aspect menu-item-tab
HTTP status 200
Load time 0.401 s
Memory usage 4.48 MiB
JS errors None
Resource errors None

Sunshine → Settings → Design

Page screenshot: Sunshine → Settings → Design
URL /wp-admin/admin.php?page=sunshine&tab=design
Aspect menu-item-tab
HTTP status 200
Load time 0.889 s
Memory usage 4.53 MiB
JS errors None
Resource errors None

Sunshine → Settings → Email

Page screenshot: Sunshine → Settings → Email
URL /wp-admin/admin.php?page=sunshine&tab=email
Aspect menu-item-tab
HTTP status 200
Load time 0.823 s
Memory usage 4.54 MiB
JS errors None
Resource errors None

Sunshine → Settings → Licenses

Page screenshot: Sunshine → Settings → Licenses
URL /wp-admin/admin.php?page=sunshine&tab=licenses
Aspect menu-item-tab
HTTP status 200
Load time 0.330 s
Memory usage 4.48 MiB
JS errors None
Resource errors None

Sunshine → Reports

Page screenshot: Sunshine → Reports
URL /wp-admin/admin.php?page=sunshine_reports
Aspect menu-item
HTTP status 200
Load time 0.212 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Sunshine → Add-Ons

Page screenshot: Sunshine → Add-Ons
URL /wp-admin/admin.php?page=sunshine_addons
Aspect menu-item
HTTP status 200
Load time 0.268 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Sunshine → Tools

Page screenshot: Sunshine → Tools
URL /wp-admin/admin.php?page=sunshine_tools
Aspect menu-item
HTTP status 200
Load time 0.397 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Sunshine → Get Help

Page screenshot: Sunshine → Get Help
URL https://www.sunshinephotocart.com/support/?utm_source=plugin&utm_medium=link&utm_campaign=help
Requested URL /wp-admin/admin.php?page=sunshine_help_link
Aspect menu-item
HTTP status 200
Load time 1.143 s
Memory usage N/A
JS errors None
Resource errors None

Sunshine → System Info

Page screenshot: Sunshine → System Info
URL /wp-admin/admin.php?page=sunshine_system_info
Aspect menu-item
HTTP status 200
Load time 0.494 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Sunshine → Upgrade

Page screenshot: Sunshine → Upgrade
URL https://www.sunshinephotocart.com/pricing/?utm_source=plugin&utm_medium=link&utm_campaign=upgrade
Requested URL /wp-admin/admin.php?page=sunshine_upgrade_link
Aspect menu-item
HTTP status 200
Load time 1.410 s
Memory usage N/A
JS errors None
Resource errors None

Galleries

Page screenshot: Galleries
URL /wp-admin/edit.php?post_type=sunshine-gallery
Aspect menu-item
HTTP status 200
Load time 0.544 s
Memory usage 4.29 MiB
JS errors None
Resource errors None

Galleries → Add New

Page screenshot: Galleries → Add New
URL /wp-admin/post-new.php?post_type=sunshine-gallery
Aspect menu-item
HTTP status 200
Load time 1.333 s
Memory usage 4.35 MiB
JS errors None
Resource errors None

Products

Page screenshot: Products
URL /wp-admin/edit.php?post_type=sunshine-product
Aspect menu-item
HTTP status 200
Load time 0.256 s
Memory usage 4.29 MiB
JS errors None
Resource errors None

Products → Add Product

Page screenshot: Products → Add Product
URL /wp-admin/post-new.php?post_type=sunshine-product
Aspect menu-item
HTTP status 200
Load time 0.651 s
Memory usage 4.34 MiB
JS errors None
Resource errors None

Products → Product Categories

Page screenshot: Products → Product Categories
URL /wp-admin/edit-tags.php?taxonomy=sunshine-product-category&post_type=sunshine-product
Aspect menu-item
HTTP status 200
Load time 0.241 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Products → Bulk add products

Page screenshot: Products → Bulk add products
URL /wp-admin/edit.php?post_type=sunshine-product&page=sunshine_bulk_add_products
Aspect menu-item
HTTP status 200
Load time 0.174 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Orders

Page screenshot: Orders
URL /wp-admin/edit.php?post_type=sunshine-order
Aspect menu-item
HTTP status 200
Load time 0.192 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Orders → Add New

Page screenshot: Orders → Add New
URL /wp-admin/post-new.php?post_type=sunshine-order
Aspect menu-item
HTTP status 200
Load time 0.342 s
Memory usage 4.31 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).datepicker is not a function\n    at HTMLDocument.<anonymous> (/wp-admin/post-new.php?post_type=sunshine-order:435:25)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.2:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Orders → Order Statuses

Page screenshot: Orders → Order Statuses
URL /wp-admin/edit-tags.php?taxonomy=sunshine-order-status&post_type=sunshine-order
Aspect menu-item
HTTP status 200
Load time 0.212 s
Memory usage 4.23 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.355 s
Memory usage 3.99 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.706 s
Memory usage 6 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.387 s+0.041 s3.72 MiB4.27 MiB+ 555.63 KiB
/wp-admin/edit.php0.194 s0.207 s+0.013 s3.76 MiB4.31 MiB+ 567.69 KiB
/wp-admin/post-new.php0.755 s1.017 s+0.262 s5.55 MiB6.09 MiB+ 559.1 KiB
/wp-admin/upload.php0.405 s0.353 s-0.052 s3.69 MiB4.22 MiB+ 550.23 KiB
/wp-admin/options-writing.php0.154 s0.185 s+0.031 s3.62 MiB4.13 MiB+ 524.33 KiB
/wp-admin/media-new.php0.434 s0.226 s-0.208 s3.66 MiB4.2 MiB+ 545.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.222 s+0.028 s3.69 MiB4.23 MiB+ 554.59 KiB
/wp-admin/post-new.php?post_type=page0.724 s0.655 s-0.069 s5.54 MiB6.02 MiB+ 490.38 KiB
/wp-admin/options-discussion.php0.223 s0.245 s+0.022 s3.6 MiB4.14 MiB+ 550.29 KiB
/wp-admin/edit-comments.php0.216 s0.221 s+0.005 s3.7 MiB4.23 MiB+ 543.85 KiB
/0.323 s0.230 s-0.093 s3.6 MiB3.99 MiB+ 395.8 KiB
Average 0.361 s0.359 s-0.002 s4.01 MiB4.53 MiB+ 530.65 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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File81.5%85,38246,66523
PHP17.2%17,9811,86398
CSS1.2%1,2051226
JavaScript0.1%132263
SVG0.0%2104
Total 104,721 48,676 134

PHP Code Analysis | More results »

Lines of code 15,482
Total complexity 3,302
Median class complexity 13.0
Median method complexity 2.0
Most complex class SunshineCart
Most complex function sunshine_checkout()
Classes 25
Methods 275
Functions 363

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.

Options wp_options 9

Custom Post Types 3

ID Name
sunshine-galleryGalleries
sunshine-productProducts
sunshine-orderOrders

Sidebar Widgets 3

ID Name
sunshine_widget_gallery_password_boxSunshine Gallery Password Box
sunshine_widget_main_menuSunshine Main Menu
sunshine_widget_searchSunshine Search

Meta Boxes

{
    "sunshine-product": {
        "sunshine_products": {
            "title": "Product Info",
            "context": "advanced"
        }
    },
    "sunshine-order": {
        "sunshine_order_data": {
            "title": "Add Order",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
sunshine_managerSunshine Manager

Capabilities 41

PHP Error Log 52 lines

[02-Sep-2022 04:58:41 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 461
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: page_account in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 471
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: page_cart in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 482
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: page_checkout in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 493
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: rows in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 504
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: columns in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 506
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: thumbnail_width in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 508
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: thumbnail_height in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 510
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: thumbnail_crop in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 512
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: email_register in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 514
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: email_receipt in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 516
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: email_signature in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 518
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: from_email in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 520
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: from_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 522
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: header_footer in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 524
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: currency in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 526
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: currency_symbol_position in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 528
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: currency_thousands_separator in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 530
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: currency_decimal_separator in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 532
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: currency_decimals in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 534
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: share_gallery in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 536
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: share_image in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 538
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: theme in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 540
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: flat_rate_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 542
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: local_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 544
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: pickup_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 546
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: offline_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 548
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: offline_desc in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 550
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: paypal_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 552
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: paypal_desc in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 554
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: stripe_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 556
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: stripe_desc in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 558
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: payjunction_name in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 560
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: payjunction_desc in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 562
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: country in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 564
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: tax_basis in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 568
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: display_price in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 570
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: price_has_tax in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 572
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: email_subject_register in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 574
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: email_subject_order_receipt in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 576
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: email_subject_order_status in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 578
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: email_subject_order_comment in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 580
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: allow_guest_checkout in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 583
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: allowed_countries in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 585
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: billing_fields in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 587
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: shipping_fields in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 589
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: billing_fields_required in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 591
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: shipping_fields_required in /wp-content/plugins/sunshine-photo-cart/classes/sunshine.class.php on line 593
[02-Sep-2022 04:58:41 UTC] PHP Notice:  Undefined index: page_favorites in /wp-content/plugins/sunshine-photo-cart/addons/favorites/index.php on line 259
[02-Sep-2022 04:58:59 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/sunshine-photo-cart/admin/sunshine-addons.php on line 461
[02-Sep-2022 04:58:59 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/sunshine-photo-cart/admin/sunshine-addons.php on line 585
[02-Sep-2022 04:59:22 UTC] PHP Notice:  Undefined index: show_media_library in /wp-content/plugins/sunshine-photo-cart/admin/sunshine-admin.php on line 315
See also: All tests for this plugin, How to Hide Sunshine Photo Cart Admin Menus and More