Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug notice when updating to 8.5.2: Automatic conversion of false to array is deprecated #44103

Closed
5 tasks done
henrywright opened this issue Jan 25, 2024 · 2 comments
Closed
5 tasks done

Comments

@henrywright
Copy link

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: Automatic conversion of false to array is deprecated in wp-content/plugins/woocommerce/src/Admin/DataSourcePoller.php on line 138

Expected behavior

I shouldn't get a debug notice appear.

Actual behavior

I updated to version 8.5.2 and on the wp-admin/plugin-install.php page I got a debug notice. I then navigated away from the page. When I visited the page again I no longer get the message.

Steps to reproduce

  1. Install 8.5.2

WordPress Environment

Local

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.
@lanej0 lanej0 added team: Proton focus: install-uninstall Issues related to installing, uninstalling, and upgrades. labels Jan 26, 2024
@jorgeatorres jorgeatorres added team: Ghidorah focus: inbox and removed focus: install-uninstall Issues related to installing, uninstalling, and upgrades. team: Proton labels Apr 5, 2024
@adrianduffell
Copy link
Contributor

This was fixed in #44384 and now released in WooCommerce 8.7.

@henrywright
Copy link
Author

Thank you @adrianduffell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants