Support » Plugin: WooCommerce » Dashboard opens with warning after Woo update

  • Resolved DAW Industries Inc.

    (@dawartdept19)


    I’m working in ServerPress’ DesktopServer so I can’t send a link.
    I received this warning when opening the Dashboard:

    ( ! ) Warning: Invalid argument supplied for foreach() in /Users/admin/Documents/Websites/www.example.dev.cc/wp-content/plugins/woocommerce/includes/class-wc-install.php on line 455

    Can anyone tell me what’s going on here?
    Do I need an php update or something?

    The entire warning is:

    ( ! ) Warning: Invalid argument supplied for foreach() in /Users/admin/Documents/Websites/www.example.dev.cc/wp-content/plugins/woocommerce/includes/class-wc-install.php on line 455
    Call Stack
    # Time Memory Function Location
    1 0.0060 537872 {main}( ) …/index.php:0
    2 0.0063 585488 require_once( ‘/Users/admin/Documents/Websites/www.example.dev.cc/wp-admin/admin.php’ ) …/index.php:10
    3 0.0065 598088 require_once( ‘/Users/admin/Documents/Websites/www.example.dev.cc/wp-load.php’ ) …/admin.php:34
    4 0.0066 604776 require_once( ‘/Users/admin/Documents/Websites/www.example.dev.cc/wp-config.php’ ) …/wp-load.php:37
    5 0.0073 689256 require_once( ‘/Users/admin/Documents/Websites/www.example.dev.cc/wp-settings.php’ ) …/wp-config.php:67
    6 0.9255 77329008 do_action( ) …/wp-settings.php:505
    7 0.9255 77329384 WP_Hook->do_action( ) …/plugin.php:465
    8 0.9255 77329384 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    9 0.9726 79031776 WC_Install::check_version( ) …/class-wp-hook.php:286
    10 0.9727 79031776 WC_Install::install( ) …/class-wc-install.php:166
    11 1.0844 79085088 WC_Install::create_options( ) …/class-wc-install.php:213

Viewing 2 replies - 1 through 2 (of 2 total)
  • Okay…

    I cleared my browser’s cache, and restarted the site from DS, signed in again, and now the warning is gone.
    Now I’m totally confused, but as long as things are working, I’m fine.

    Cheers!

    Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Hi,

    Thanks for letting us know!

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.