Skip to content

Deprecated #57174

@mehrazmorshed

Description

@mehrazmorshed

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

Deprecated: Automattic\WooCommerce\StoreApi\Schemas\V1\CheckoutSchema::get_checkout_response(): Implicitly marking parameter $payment_result as nullable is deprecated, the explicit nullable type must be used instead in /Users/th22/test/woogallery-pro/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/CheckoutSchema.php on line 228

Deprecated: Automattic\WooCommerce\StoreApi\Schemas\V1\CheckoutSchema::get_checkout_response(): Implicitly marking parameter $cart as nullable is deprecated, the explicit nullable type must be used instead in /Users/th22/test/woogallery-pro/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/CheckoutSchema.php on line 228

Deprecated: Automattic\WooCommerce\Admin\PluginsHelper::install_plugins(): Implicitly marking parameter $source as nullable is deprecated, the explicit nullable type must be used instead in /Users/th22/test/woogallery-pro/wp-content/plugins/woocommerce/src/Admin/PluginsHelper.php on line 231

Deprecated: Automattic\WooCommerce\Admin\PluginsHelper::install_and_activate_plugins_async_callback(): Implicitly marking parameter $source as nullable is deprecated, the explicit nullable type must be used instead in /Users/th22/test/woogallery-pro/wp-content/plugins/woocommerce/src/Admin/PluginsHelper.php on line 412

Expected behavior

Should not exist.

Actual behavior

Screenshots:

  1. Guided Setup: https://prnt.sc/K7lQa7ieCEuA
  2. Dashboard: https://prnt.sc/fTekFX9dcqBY
  3. Frontend: https://prnt.sc/VRE09GbsyoAU

Steps to reproduce

  1. Install WooCommerce
  2. Activate WooCommerce
  3. Go to Guided Setup

WordPress Environment

WooCommerce v9.8.1
WordPress v6.8-RC3
PHP v8.4.4

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions