그누커머스 상품 위젯 에러 및 질문
본문
안녕하세요. 그누커머스로 테스트작업중입니다.
전용테마를 적용할려다가 상품위젯에러가 나서 로그를 찾아보니 에러가 나더라구요.
PHP message: PHP Stack trace:
PHP message: PHP 1. {main}() /var/www/html/index.php:0
PHP message: PHP 2. require() /var/www/html/index.php:17
PHP message: PHP 3. require_once() /var/www/html/wp-blog-header.php:19
PHP message: PHP 4. include() /var/www/html/wp-includes/template-loader.php:75
PHP message: PHP 5. do_action() /var/www/html/wp-content/themes/sir-furniture/template-homepage.php:22
PHP message: PHP 6. call_user_func_array:{/var/www/html/wp-includes/plugin.php:524}() /var/www/html/wp-includes/plugin.php:524
PHP message: PHP 7. sirfurniture_main_widget_area() /var/www/html/wp-includes/plugin.php:524
PHP message: PHP 8. dynamic_sidebar() /var/www/html/wp-content/themes/sir-furniture/core/template-functions.php:156
PHP message: PHP 9. call_user_func_array:{/var/www/html/wp-includes/widgets.php:738}() /var/www/html/wp-includes/widgets.php:738
PHP message: PHP 10. WP_Widget->display_callback() /var/www/html/wp-includes/widgets.php:738
PHP message: PHP 11. sir_latest_item_widget->widget() /var/www/html/wp-includes/class-wp-widget.php:377
PHP message: PHP 12. sirfurniture_latest_gnucommerce_shop() /var/www/html/wp-content/themes/sir-furniture/core/widget/gnucommerce_item_widget.php:105
PHP message: PHP 13. sircomm_do_shortcode() /var/www/html/wp-content/themes/sir-furniture/core/template-functions.php:142
PHP message: PHP 14. call_user_func:{/var/www/html/wp-content/themes/sir-furniture/functions.php:460}() /var/www/html/wp-content/themes/sir-furniture/functions.php:460
PHP message: PHP 15. GC_Shortcodes::shop_latest() /var/www/html/wp-content/themes/sir-furniture/functions.php:460
PHP message: PHP 16. GC_Shortcodes::shortcode_wrapper() /var/www/html/wp-content/plugins/gnucommerce/lib/gc_shortcode.class.php:146
이쪽부분이긴한데 .. 일단
if( self::$attr['category'] ){ //카테고리가 있다면
$query_args = self::get_categoty_args( self::$attr['category'] );
}
get_categoty_args
get_category_args
하니까 에러는 일단 안납니다 (..) 한번 확인 부탁드려요.
그리고 분류(카테고리)명이 한글일때 잘..작동안하는것같습니다.
두번째 질문은
배송주소지가 필요없는 상품은 아예 옵션을줘서 안받을수있는지 궁금합니다. (디지털 경품추첨용 상품이라던가..)