Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Cannot assign requested address
Filename: mysqli/mysqli_driver.php
Line Number: 201
Backtrace:
File: /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php
Line: 343
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/application/controllers/Api.php
Line: 12
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/index.php
Line: 316
Function: require_once
无法使用提供的设置连接到数据库服务器。
Filename: core/MY_Controller.php
Line Number: 343
<?php /** * Validates whether the WC Cart instance is available in the request. * * @return bool */ function flatsome_is_wc_cart_available() { if ( ! function_exists( 'WC' ) ) return false; return WC() instanceof \WooCommerce && WC()->cart instanceof \WC_Cart; } /** * Verifies whether the mini cart can be revealed or not. * * @return bool */ function flatsome_is_mini_cart_reveal() { return ( 'yes' !== get_option( 'woocommerce_cart_redirect_after_add' ) && 'link' !== get_theme_mod( 'header_cart_style', 'dropdown' ) && get_theme_mod( 'cart_dropdown_show', 1 ) ); }