0
경고 : /customers/3/3/f/mabox-ks.com/httpd.www/web1/wp-content/plugins에 숫자가 아닌 값이 있습니다. 라인 206amy_templates.php 줄에 숫자가 아닌 값이 있습니다. 209
여기 amy_temaplates.php 에 /ab_ct_amy_slider/inc/amy_templates.php 것은 내가 코드를 가지고 있도록 COMPLET 코드
$post->the_permalink = get_permalink($post->id);
global $product;
if(isset($product)){
$post->get_price_html = $product->get_price_html();
$post->get_rating_html = $product->get_rating_html();
$post->the_permalink = get_permalink($post->id);
$post->add_to_cart_url = $product->add_to_cart_url();
$post->get_sku = $product->get_sku();
$post->is_purchasable = $product->is_purchasable() ? 'add_to_cart_button' : '';
$post->product_type = $product->product_type;
$post->add_to_cart_text = $product->add_to_cart_text();
$post->get_categories = $product->get_categories(', ', '<span class="posted_in">' . _n('Category:', 'Categories:', sizeof(get_the_terms($post->id, 'product_cat')), 'woocommerce') . ' ', '.</span>');
}
$posts[] = $post;
}
오류는 206 행이 아니라 209 행에 있습니다. 그리고 변수 이름으로 $ post를 사용하면 정말 혼란 스럽습니다, Wordpress $ post는 다소 비쌉니다. –
죄송합니다. *이 오류를 해결하기 위해 무엇을 변경해야합니까? –