Warning: getenv() expects exactly 1 parameter, 2 given in woocommerce error
-
I am getting a warning on my site but the line 55 in woocommerce-services.php
// Check for CI environment variable to trigger test mode. if ( false !== getenv( 'WOOCOMMERCE_SERVICES_CI_TEST_MODE', true ) ) { if ( ! defined( 'WOOCOMMERCE_SERVICES_LOCAL_TEST_MODE' ) ) { define( 'WOOCOMMERCE_SERVICES_LOCAL_TEST_MODE', true ); } if ( ! defined( 'JETPACK_DEV_DEBUG' ) ) { define( 'JETPACK_DEV_DEBUG', true ); } }
Unsure how to safely fix this. Any help would be appreciated. Thank you
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Warning: getenv() expects exactly 1 parameter, 2 given in woocommerce error’ is closed to new replies.