WooCommerce -> wc_enqueue_js not working [closed]

wc_enqueue_js is not method of $woocommerce object.

Just call the function.

wc_enqueue_js( file_get_contents( WOO_CK_PATH . 'panel.js' ) );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)